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

Uploaded Source

Built Distribution

gen3-0.1.2-py3.6.egg (41.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gen3-0.1.2.tar.gz
  • Upload date:
  • Size: 14.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for gen3-0.1.2.tar.gz
Algorithm Hash digest
SHA256 b78cdae99df8949110c6c3649e19fabbfae826dfbbc7364961bd1cbed375be21
MD5 acfb40f237b6a04035cdcb44a668b83c
BLAKE2b-256 39cf1e2cd2b33cf7af4db503ab2252f99c883b0c17b0ef1af391a0f8d024751a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gen3-0.1.2-py3.6.egg
  • Upload date:
  • Size: 41.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.3

File hashes

Hashes for gen3-0.1.2-py3.6.egg
Algorithm Hash digest
SHA256 043d9f1bd30832750146fc9a6717751d8e88f43c5d34bfdecba3b88585dfc4e6
MD5 2ae753e53fbc65a49b589749d5447c84
BLAKE2b-256 bbbb8d619fd983e5264e83f7e10277c8fbbc9d5c519664c63cedb2816790cdd2

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