Skip to main content

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@genialis.com', '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')

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.8.tar.gz (5.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for GenAPI-0.0.8.tar.gz
Algorithm Hash digest
SHA256 1f8d15a91075a486f1eff2e6a7c077883007ea96347d3226c79156f4a25256a0
MD5 dbed68dc200198c8cf32a38abaf0fae6
BLAKE2b-256 4894460841b690604e5b581c91733b36a29eab98471f4ad692f59282d4bc9902

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.8 This release

1 file

0.0.7

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page