stups-zign
OAuth2 token management CLI
What it is and what it does
Zign is a command-line OAuth2 token management tool designed for the STUPS ecosystem. It provides a simple interface to obtain and manage OAuth2 tokens for use in automated systems, CI/CD pipelines, and scripts that need to authenticate with OAuth2-protected services. The tool is built on top of stups-tokens and stups-cli-support, integrating with the broader STUPS infrastructure for credential and token handling.
The package is intended for developers and system administrators working within environments that use STUPS for infrastructure management. It runs as a standalone CLI utility (invoked via the `ztoken` command) and handles the mechanics of token acquisition, storage, and lifecycle management, abstracting away the complexity of direct OAuth2 flows.
Use it for:
- Obtain OAuth2 tokens in CI/CD pipelines for automated deployments and infrastructure operations.
- Manage tokens for local development workflows when working with OAuth2-protected internal services.
- Provide token acquisition in shell scripts and automation tools that need to authenticate with STUPS-managed resources.
- Integrate token management into system administration tasks for STUPS-based infrastructure.
- Enable command-line access to services requiring OAuth2 authentication without manual token handling.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Zign is a command-line utility for OAuth2 token management, enabling you to obtain and manage tokens for use in automated workflows and scripts.
Yes, if you are working within a STUPS-managed infrastructure environment. The package is actively maintained, has low install friction, carries no known vulnerabilities, and uses a permissive Apache-2.0 license. It is purpose-built for OAuth2 token management in that ecosystem. If you are not using STUPS, this tool is unlikely to be relevant.
Install
stups-zign on PyPI
pip
pip install stups-zignuv
uv add stups-zignpoetry
poetry add stups-zignInstalling stups-zign
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of 114 days ago with a release history spanning since 2015. Requires Python 3.10 or later.
License in practice
Licensed under Apache-2.0 (permissive), allowing free use, modification, and distribution in both open-source and commercial contexts with minimal restrictions.
Quickstart
$ pip install stups-zign
$ ztoken
Requires Python 3.10 or later.
Verify before relying
- Whether ztoken command works standalone or requires additional STUPS infrastructure setup.
- How token caching and refresh behavior is configured in practice.
- Whether the package integrates with specific OAuth2 providers or is provider-agnostic.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — clickclick, pyyaml, requests, stups-cli-support, stups-tokens |
| Maintenance | actively maintained — 114 days since the last release |
| First released | |
| Downloads | 130,272/month — #11,646 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: stups_zign-1.2.2-py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
stups-tokensManages OAuth 2.0 access tokens in memory,…
permissive · top 15,000 on PyPI
stups-cli-supportProvides shared command-line interface…
permissive · top 15,000 on PyPI
google-oauth2-toolGenerates an OAuth2 key file from a Google…
permissive · top 15,000 on PyPI
edx-rest-api-clientProvides OAuth2 and JWT utilities for…
permissive · top 15,000 on PyPI
mozilla-django-oidcIntegrates Django applications with OpenID…
copyleft · top 5,000 on PyPI
gcs-oauth2-boto-pluginProvides OAuth 2.0 authentication for Google…
permissive · top 15,000 on PyPI
google-oauthImplements Google OAuth2 authentication for…
permissive · top 15,000 on PyPI
unlzw3Decompresses .Z files (Unix compress format)…
permissive · top 15,000 on PyPI
oauth2-clientHandles OAuth2 authentication flows…
unclear · top 15,000 on PyPI
httpx-authProvides authentication classes for httpx HTTP…
permissive · top 5,000 on PyPI