This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

WebApollo API library

Project Description

Apollo is a Python library for interacting with WebApollo

Examples

from apollo import WebApolloInstance
wa = WebApolloInstance('https://fqdn/apollo', 'jane.doe@fqdn.edu', 'password')

orgs = wa.organisms.add_organism(
    "Yeast",
    "/path/to/jbrowse/data",
    genus='Saccharomyces',
    species='cerevisiae',
    public=False
)

# Give webapollo a second to process the uploaded organism.
time.sleep(1)

# Then add yourself to permission list
data = wa.users.update_organism_permissions(
    "jane.doe@fqdn.edu",
    "Yeast",
    write=True,
    export=True,
    read=True,
)

Or with the new Arrow client:

$ arrow groups create_group university
{
    "publicGroup": false,
    "class": "org.bbop.apollo.UserGroup",
    "name": "university",
    "users": null,
    "id": 558319
}
$ arrow users get_users | \
    jq '.[] | select(.username | contains("@tamu.edu")) | .username' | \
    xargs -n1 arrow users add_to_group university

History

  • 3.0
    • “Arrow” CLI utility
    • More pythonic API and many workarounds for Apollo bugs or oddities
    • Complete package restructure
    • Nearly all functions renamed
  • 2.0
    • Galaxy Functions
    • TTL Cache to work around Galaxy’s behaviour
    • Status and Canned* Clients from [@abretaud](https://github.com/abretaud)
  • 1.0
    • Initial release

License

Available under the MIT License

Release History

Release History

This version
History Node

3.0

History Node

2.0

History Node

1.0

History Node

0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
apollo-3.0-py2.7.egg (164.8 kB) Copy SHA256 Checksum SHA256 2.7 Egg May 10, 2017
apollo-3.0-py3.5.egg (171.3 kB) Copy SHA256 Checksum SHA256 3.5 Egg May 10, 2017
apollo-3.0-py3-none-any.whl (73.1 kB) Copy SHA256 Checksum SHA256 py3 Wheel May 10, 2017
apollo-3.0.tar.gz (25.8 kB) Copy SHA256 Checksum SHA256 Source May 10, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting