A python wrapper around the Safe Launcher API.
PySafeAPI is installable from PyPi using the following command:
pip install PySafeAPI
This will not include the examples which are downloadable by cloning this repository.
- POST /auth
- GET /auth
- DELETE /auth
- POST /nfs/directory
- GET /nfs/directory/:dirPath/:isPathShared
- DELETE /nfs/directory/:dirPath/:isPathShared
- POST /nfs/file
- GET /nfs/file/:filePath/:isPathShared
- PUT /nfs/file/:filePath/:isPathShared
- DELETE /nfs/file/:dirPath/:isPathShared
- POST /dns/:longName
- POST /dns
- PUT /dns
- GET /dns
- GET/dns/:longName
- GET /dns/:serviceName/:longName
- GET /dns/:serviceName/:longName/
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
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.