Skip to main content

The Gen3 SDK makes it easy to utilize functionality in Gen3 data commons.

Project description

# Gen3 SDK for Python

The Gen3 SDK for Python provides classes for handling the authentication flow using a refresh token and getting an access token from the commons. The access token is then refreshed as necessary while the refresh token remains valid. The submission client contains various functions for submitting, exporting, and deleting data from a Gen3 data commons.

Docs for this SDK are available at [http://gen3sdk-python.rtfd.io/](http://gen3sdk-python.rtfd.io/)

## Auth

This contains an auth wrapper for supporting JWT based authentication with requests. The access token is generated from the refresh token and is regenerated on expiration.

## IndexClient

This is the client for interacting with the Indexd service for GUID brokering and resolution.

## SubmissionClient

This is the client for interacting with the Gen3 submission service including GraphQL queries.

# Changelog

## 0.1.0 Initial release Functionality for IndexClient, and Submission client

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

gen3-0.1.3.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

gen3-0.1.3-py3.6.egg (41.5 kB view details)

Uploaded Source

File details

Details for the file gen3-0.1.3.tar.gz.

File metadata

  • Download URL: gen3-0.1.3.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for gen3-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e6b57410b739a8e675ec20202d54dc2391d9a611130c465701798d29c1a8d3f4
MD5 3dad5cc3745f0947a27fa46ed1510dbc
BLAKE2b-256 8ab29463b3e600916f6e4d241d887cb181078fdd31cf6cfdda52fb9740815616

See more details on using hashes here.

File details

Details for the file gen3-0.1.3-py3.6.egg.

File metadata

  • Download URL: gen3-0.1.3-py3.6.egg
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.3

File hashes

Hashes for gen3-0.1.3-py3.6.egg
Algorithm Hash digest
SHA256 bd650a943219902ec3f183316e0fe57afe174499eccd07917bc96f8fb8e47c1f
MD5 5c9fdc9ac683e44852e786bc7658e5e5
BLAKE2b-256 4d27d967f098321d15edfa9df2372d066998731b5fd702d292bf8b92f9479857

See more details on using hashes here.

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