Skip to main content

A Python API for the Genesis platform.

Project description

GenAPI

GenAPI is a Python API for the Genesis platform.

Install

To install, run:

python setup.py install

To install for development, run:

python setup.py develop

Usage

Create an API instance:

gen = GenCloud('anonymous', 'anonymous', 'http://cloud.genialis.com')

Get all project and select the first one:

projects = gen.projects()
project = projects.itervalues().next()

Get expression objects and select the first one:

objects = project.objects(type__startswith='data:expression')
object = object.itervalues().next()

Print annotation:

object.print_annotation()

Print file fields:

object.print_downloads()

Download file:

object.download('output.rpkum')

Project details


Download files

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

Source Distribution

GenAPI-0.0.5.tar.gz (5.5 kB view details)

Uploaded Source

File details

Details for the file GenAPI-0.0.5.tar.gz.

File metadata

  • Download URL: GenAPI-0.0.5.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for GenAPI-0.0.5.tar.gz
Algorithm Hash digest
SHA256 513a0a6172ce6f5497d1e522355f965fc4cd418950edbc35c2a57abed98390ea
MD5 4d8f754210be46d7273e5dc11a45b66f
BLAKE2b-256 700561859aa5985b70af9c09f8f0a50d2e961faa73096066b2f6f70999fd69c8

See more details on using hashes here.

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