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