Skip to main content

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


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

agavepy-0.1.1-py2.py3-none-any.whl (16.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file agavepy-0.1.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for agavepy-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5f5c79378fef3ee8ca7209df9a3e43acd26a4d7df4cf91273376974c3f9ebd35
MD5 495d4fa5bdeb3c24a22eb89f7738f186
BLAKE2b-256 fc8eb46c53c841fb84a00f92a8838bfa695f6c04cc239a00bb90cd9c89bcce7f

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page