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

Uploaded Source

Built Distribution

gen3-1.0.0-py3.6.egg (42.3 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gen3-1.0.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.3

File hashes

Hashes for gen3-1.0.0.tar.gz
Algorithm Hash digest
SHA256 da5e61c155854e5db68b58f79e9bb5ff62789ca2c1e4a1029ebe02acfeb41938
MD5 2300c8927f5839604a5bd39f2db8bb12
BLAKE2b-256 d2287a7451920e1f2392c009dcfdbb3bd66ea50dd09a0f7ed97d1ea04e65ac3a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gen3-1.0.0-py3.6.egg
  • Upload date:
  • Size: 42.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.7.3 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.3

File hashes

Hashes for gen3-1.0.0-py3.6.egg
Algorithm Hash digest
SHA256 ea42d4450e3766bad02dc404afe4e7c518f12359010a9589032475e6dedd400c
MD5 378fc868d617cbccb8a306eba4ef1863
BLAKE2b-256 1cf056019f19d7d38f716ec983404de616e0c1cac36ebb69a6fe81f502ceda4e

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