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/ - [x] PUT /nfs/directory/:rootPath/:directoryPath - [x] POST /nfs/movedir - [x] 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 - [x] DELETE /nfs/file/:rootPath/:filePath
#### DNS - [x] POST /dns/:longName - [x] POST /dns - [x] PUT /dns - [x] GET /dns - [x] GET /dns/:longName - [x] GET /dns/:serviceName/:longName - [ ] GET /dns/:serviceName/:longName/:filePath - [x] DELETE /dns/:serviceName/:longName - [x] 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 may be rejected.
Contributions for any of the missing URLs, extra examples, documentation and bug fixes are all welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file SafeAPI-0.0.5.tar.gz
.
File metadata
- Download URL: SafeAPI-0.0.5.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e37ee1c942589d71a51510fa871ce76cc664a43f7c68c68f7b169ee536a5c5a7 |
|
MD5 | 71b065dbd92db4a140074c465f59b25f |
|
BLAKE2b-256 | 249adb91092b70b8ddf77bc28fc4eef0f2ab24d881ca4bc2cb2e315d7c73fdbe |