A simple Python wrapper for the GDC Application Programming Interface
Project description
Genomic Data Commons API wrapper
A simple Python wrapper for the GDC Application Programming Interface (API)
The GDC API drives the GDC Data and Submission Portals and provides programmatic access to GDC functionality. This includes searching for, downloading, and submitting data and metadata.
Features implemented
- Downloading a Single File using GET
- Downloading Multiple Files using POST
Usage
Installation
pip install gdc-api-wrapper
Download single file
from gdcapiwrapper.data import Data
Data.download(uuid="uuid-file-you-wanna-download", path="/local/path", name="filename")
NOTE: path
and name
are optional, by default path is your current directory and if name is
not provided it will be saved with the UUID as filname.
Download multiple files
from gdcapiwrapper.data import Data
Data.download_multiple(uuid_list=["UUID1", "UUID2", "UUID3"], path="/local/path")
NOTE: path
is optional, by default path is your current directory.
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 Distribution
gdc-api-wrapper-0.1.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for gdc_api_wrapper-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb5835c294737a97dcf8d8dfee5b63054a6fe97ce874df814e7205b537f2f551 |
|
MD5 | 82552481d43976ec05faca45b18bf8ad |
|
BLAKE2b-256 | c024a289b5c89fcc44e1b2dd481526963a56e2b7d3998523e7cdbda74a32a3f4 |