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/

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

Uploaded Source

Built Distribution

gen3-2.0.1-py3.6.egg (64.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gen3-2.0.1.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.7

File hashes

Hashes for gen3-2.0.1.tar.gz
Algorithm Hash digest
SHA256 6c774ff804d46c5a10342b9a83a9fa50413bbe133abcc109338d91b4c9aebaf1
MD5 f2988c64e718580f44270ea1d0977d22
BLAKE2b-256 dddbc66a20a4e18f9a8addcc211bdd19c91b75135a067065e1e5c64951049b71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gen3-2.0.1-py3.6.egg
  • Upload date:
  • Size: 64.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.39.0 CPython/3.6.7

File hashes

Hashes for gen3-2.0.1-py3.6.egg
Algorithm Hash digest
SHA256 f4741f3dd28d28e724f2dee333e52a2a16b0293d17eb529705982d4914bfa6b6
MD5 baf3f920bcb4997ba098c2462d31c87c
BLAKE2b-256 14e9e6a226c9330a0c2d7dc1541f8086621e8db1ef0519f70d5bc6a46a51fd52

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