Skip to main content
build status Latest Released Version Supported Python Versions License

Globus SDK TokenStorage

Th Globus SDK provides a convenient Pythonic interface to Globus APIs.

This library provides an interface for handling the storage and management of tokens acquired through the SDK more easily.

It takes tokens, stores and loads them to and from files, and additionally provides on_refresh callbacks which can be used in globus_sdk.RefreshTokenAuthorizer and globus_sdk.ClientCredentialsAuthorizer to keep those files up-to-date.

Intentional limitation: this library does not generate Authorizers or Clients, and is limited only to token and file management.

In the future, this may expand to include storage mechanisms which are not files.

Changelog

0.4.1 (2021-09-29)

  • Allow use with SDK version 3

0.4.0 (2021-06-03)

  • Bugfix: Set umask to 0o177 when creating sqlite DB, so that it will only be readable and writable by the current user

  • Abstract base clases now inherit from abc.ABC

  • Rename abstract base classes to StorageAdapter and FileAdapter

  • SQLiteStorageAdapter is now a FileAdapter where filename is the db name

0.3.0 (2021-05-03)

  • Drop support for python versions < 3.6

0.2.1 (2019-11-12)

  • Add methods to SQLiteStorageAdapter for removing tokens and removing config

0.2.0 (2019-11-12)

  • Add SQLiteStorageAdapter which stores tokens and config under namespaces in a sqlite db

0.1.0 (2018-11-07)

  • Initial version of the library, implementing SimpleJSONStorageAdapter

Metadata

Release files for globus-sdk-tokenstorage 0.4.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for globus-sdk-tokenstorage 0.4.1
File Size Uploaded Provenance Actions
globus-sdk-tokenstorage-0.4.1.tar.gz 11.9 kB Without provenance Details for globus-sdk-tokenstorage-0.4.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for globus-sdk-tokenstorage 0.4.1
File Interpreter ABI Platform Actions
globus_sdk_tokenstorage-0.4.1-py2.py3-none-any.whl Python 2, Python 3 none any Details for globus_sdk_tokenstorage-0.4.1-py2.py3-none-any.whl

Total release size: 24.6 kB

Release files / globus-sdk-tokenstorage-0.4.1.tar.gz

Download URL globus-sdk-tokenstorage-0.4.1.tar.gz
Size 11.9 kB
Tags Source
SHA-256 checksum
How to use checksums
77ee11ef28509f9bc9c98a8746c1efa36d380620ba2153a34d961d49e5e33ea2
BLAKE2b-256 checksum
How to use checksums
633f7968da0a60b9baf5b7919dc5378ea6c573b060975efab11d2a59c9d31717
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / globus_sdk_tokenstorage-0.4.1-py2.py3-none-any.whl

Download URL globus_sdk_tokenstorage-0.4.1-py2.py3-none-any.whl
Size 12.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ff902ebcfbdc803f2e48356aeab25cc918a76e4ed48961dbbe3a38a237117f3a
BLAKE2b-256 checksum
How to use checksums
8983a9d07115a7b630794c840778ede7a4060fca638ffae7079493992f1b872f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.7.1 requests/2.26.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for globus-sdk-tokenstorage 0.4.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page