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.7.tar.gz
(5.5 kB
view details)
File details
Details for the file GenAPI-0.0.7.tar.gz
.
File metadata
- Download URL: GenAPI-0.0.7.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a79887daa6814441c4195f5aa71c8b350a7d1ce6543a938b6ebd22ea96936428 |
|
MD5 | be4a87ae8aaf0ebbf7087ae26793bdf7 |
|
BLAKE2b-256 | 7b8f1f74b744cb46de41cfc5b002611a86f2d8e20039466dd2b3bfd11a1b4de8 |