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.2.tar.gz (4.6 kB view hashes)

Uploaded Source

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