Python library to manage OAuth access tokens, primarily used within the STUPS infrastructure by Zalando. It retrieves tokens from a token service via OAuth2 client credentials flow. Latest version 1.1.19; no longer actively maintained.
pip install stups-tokensNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Retrieve an OAuth2 token for a service using environment variables for configuration.
Set OAUTH2_ACCESS_TOKEN_URL before instantiation.
Always check if token is not None before use.
Upgrade to >=1.0.14 or conditionally pass the flag.
Migrate to a maintained OAuth2 library.