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

Uploaded Source

Built Distribution

gen3-2.0.0-py3.6.egg (64.4 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: gen3-2.0.0.tar.gz
  • Upload date:
  • Size: 23.1 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.0.tar.gz
Algorithm Hash digest
SHA256 989d6e9a11ccc536dcaba701325defb1b0deeeb0130736bf56296c627d463575
MD5 19cfaa1783e3bbb48343753746a8d4c3
BLAKE2b-256 16c17c8101e7c0429754e43ddf97746fa0cb08019113de19fb92129ab636c096

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gen3-2.0.0-py3.6.egg
  • Upload date:
  • Size: 64.4 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.0-py3.6.egg
Algorithm Hash digest
SHA256 9cf5e972fac3254f68b5593e55223a3a5d04ba9bfd66ef776a5a234d99ed92af
MD5 e52059713c695797634ce7f5c5196395
BLAKE2b-256 5b2711fc463de4a055f0a2d4c73d340eba0ece90e79c80715551af687c9cb799

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