PySafeAPI
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.
Metadata
Release files for SafeAPI 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| SafeAPI-0.0.5.tar.gz | 4.1 kB | Without provenance | Details for SafeAPI-0.0.5.tar.gz |
Release files / SafeAPI-0.0.5.tar.gz
| Download URL | SafeAPI-0.0.5.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e37ee1c942589d71a51510fa871ce76cc664a43f7c68c68f7b169ee536a5c5a7
|
|
BLAKE2b-256 checksum How to use checksums |
249adb91092b70b8ddf77bc28fc4eef0f2ab24d881ca4bc2cb2e315d7c73fdbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for SafeAPI 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.