SDK for Agave
Project description
A simple Python binding for the Agave API.
Installation
Install from PyPI:
pip install agavepy
Quickstart
The first step is to create an agave Python object pointing to your tenant:
>>> from agavepy.agave import Agave
>>> my_agave = Agave(api_server='https://agave.iplantc.org',
... resources='https://agave.iplantc.org/docs/v2/resources/',
... username='myusername', password='mypassword')
Once the object is instantiated, interact with it according to the methods in the API documentation.
For example, create a new client with:
>>> my_client = my_agave.clients.create(...)
Create a token with:
>>> my_agave.token.create()
Access any endpoint with:
>>> my_agave.systems.list()
>>> my_agave.jobs.manage(...)
License
MIT
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file agavepy-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: agavepy-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f5c79378fef3ee8ca7209df9a3e43acd26a4d7df4cf91273376974c3f9ebd35 |
|
MD5 | 495d4fa5bdeb3c24a22eb89f7738f186 |
|
BLAKE2b-256 | fc8eb46c53c841fb84a00f92a8838bfa695f6c04cc239a00bb90cd9c89bcce7f |