No project description provided
Project description
# taigapy
Library for reading from taiga in python
run
```
python setup.py install
```
You can then fetch from taiga in python. Example:
```
from taigapy import TaigaClient
c = TaigaClient(cache_dir=cache_dir)
# fetch by ID
df = c.get(id='6d9a6104-e2f8-45cf-9002-df3bcedcb80b')
# fetch by name
df1 = c.get(name='achilles-v2-4-6', version=4)
# download to destination
destination_dir = '/directory/that/exists'
file_path = c.download(id='6d9a6104-e2f8-45cf-9002-df3bcedcb80b', format='hdf5', destination=destination_dir)
```
Confluence: https://confluence.broadinstitute.org/display/CPDS/Taiga
Library for reading from taiga in python
run
```
python setup.py install
```
You can then fetch from taiga in python. Example:
```
from taigapy import TaigaClient
c = TaigaClient(cache_dir=cache_dir)
# fetch by ID
df = c.get(id='6d9a6104-e2f8-45cf-9002-df3bcedcb80b')
# fetch by name
df1 = c.get(name='achilles-v2-4-6', version=4)
# download to destination
destination_dir = '/directory/that/exists'
file_path = c.download(id='6d9a6104-e2f8-45cf-9002-df3bcedcb80b', format='hdf5', destination=destination_dir)
```
Confluence: https://confluence.broadinstitute.org/display/CPDS/Taiga
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
taigapy-1.0-py2.7.egg
(8.8 kB
view hashes)