Skip to main content

A python wrapper around the Safe Launcher API.

Project description

A python wrapper around the [Safe Launcher API](https://maidsafe.readme.io/docs/introduction).

Installation

PySafeAPI is installable from PyPi using the following command:

pip install SafeAPI

This will not include the examples which are downloadable by cloning this repository.

Progress

#### Authorization - [x] POST /auth - [x] GET /auth - [ ] DELTE /auth

#### NFS Directory - [x] POST /nfs/directory/:rootPath/:directoryPath - [x] GET /nfs/directory/:rootPath/:directoryPath/ - [ ] PUT /nfs/directory/:rootPath/:directoryPath - [ ] POST /nfs/movedir - [ ] DELETE /nfs/directory/:rootPath/:directoryPath

#### NFS File - [x] POST /nfs/file/:rootPath/:filePath - [ ] HEAD /nfs/file/:rootPath/:filePath - [x] GET /nfs/file/:rootPath/:filePath - [ ] PUT /nfs/file/metadata/:rootPath/:filePath - [ ] POST /nfs/movefile - [ ] DELETE /nfs/file/:rootPath/:filePath

#### DNS - [ ] POST /dns/:longName - [x] POST /dns - [ ] PUT /dns - [ ] GET /dns - [x] GET /dns/:longName - [ ] GET /dns/:serviceName/:longName - [ ] GET /dns/:serviceName/:longName/:filePath - [ ] DELETE /dns/:serviceName/:longName - [ ] DELETE /dns/:longName

Examples

A selection of examples are located in the examples folder. They can be run using the following command python -m examples.EXAMPLE_NAME E.g To run the upload webpage example run python -m examples.upload_webpage

Contributions

If you would like to contribute to the development of this project please feel free to submit a pull request. Pull requests should be submitted to the current development branch. Pull requests to master will be rejected. Contributions for any of the missing URLs, extra examples, documentation and bug fixes are all welcome.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

SafeAPI-0.0.2.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file SafeAPI-0.0.2.tar.gz.

File metadata

  • Download URL: SafeAPI-0.0.2.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for SafeAPI-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2d7e63fe2d603de15a6c0dcc08d63549fc2f813225582d7bc537a998a53e6cab
MD5 80e4bcf4c56fed12fb69a22bcf7531c4
BLAKE2b-256 d33074176030967e9f53b25315d219ff9bc809b3167d31f0d1387abb5b717dd4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page