macOS
brew install twinelocal Homebrew formula metadata
sudo port install twineMacPorts ports tree · python/twine/Portfile · source: api.github.com
brew
Utilities for interacting with PyPI. Version 6.2.0 via Homebrew; verified 2026-05-15.
install
brew install twinelocal Homebrew formula metadata
sudo port install twineMacPorts ports tree · python/twine/Portfile · source: api.github.com
sudo apk add twineAlpine Linux edge package indexes · twine · source: dl-cdn.alpinelinux.org
sudo apt install twineDebian stable package indexes · twine · source: deb.debian.org
sudo dnf install twineFedora Rawhide package metadata · twine · source: dl.fedoraproject.org
nix profile install nixpkgs#twinenixpkgs package indexes · twine · source: raw.githubusercontent.com
sudo pacman -S twineArch Linux sync databases · twine · source: geo.mirror.pkgbuild.com
scoop install extras/twineScoop official bucket manifest trees · bucket/twine.json · source: api.github.com
winget install --id ChrisKlimas.Twine -eWindows Package Manager source index · ChrisKlimas.Twine · source: cdn.winget.microsoft.com
overview
Utilities for interacting with PyPI
history
Twine is the Python Packaging Authority's command-line utility for uploading Python distribution artifacts to PyPI and compatible repositories. It became the standard small tool between `python -m build` and a public package release.
Twine was created to separate package building from package uploading and to make PyPI uploads safer and more testable. Its documentation contrasts it with `python setup.py upload`, emphasizing verified HTTPS, uploading already-built artifacts, and support for wheels and source distributions.
The changelog records a long-running 1.x series through the 2010s, a 2.0 release in 2019 that required Python 3.6 or later, 3.x releases that improved non-interactive and keyring behavior, and modern 5.x/6.x work around metadata validation, PyPI token handling, trusted publishing, and removal of older distribution formats.
Twine's adoption tracks the modernization of Python packaging. As PyPI, Warehouse, wheels, API tokens, and build-system-independent packaging became normal, Twine became the familiar upload command in release checklists, CI jobs, and packaging tutorials.
Its package-manager presence is broad: the input facts show it packaged by Homebrew, Debian, Ubuntu, Fedora/dnf, Arch/pacman, MacPorts, Nix, Scoop, and other ecosystems. That breadth reflects its role as infrastructure for publishing other packages, not as an end-user application.
The standard workflow is to build distributions, test against TestPyPI if needed, and run `twine upload dist/*`. Twine can read repository and credential information from `.pypirc` or environment variables, prompt interactively, and upload source distributions, wheels, signatures, and newer attestations depending on version.
Package maintainers also use `twine check` to validate distribution metadata and README rendering before upload. In CI, Twine is commonly configured with tokens, trusted publishing, or repository URLs for private Python indexes.
Twine is package-nerd infrastructure in the purest sense: it exists so other packages can be published predictably. It codified the split between build artifacts and upload transport, which made Python release automation easier to audit and script.
It also captures the Python ecosystem's security migration: away from legacy `setup.py upload` workflows and toward HTTPS, API tokens, keyring integration, metadata validation, and trusted publishing.
security posture
No matching local secret-handling manifest was found for twine. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.pypircCredential-bearing paths to review before unattended agent runs.
~/.pypircexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
twine | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
install metadata
| Package key | brew:twine |
|---|---|
| Version | 6.2.0 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/twine |
| Homepage | https://github.com/pypa/twine |
| Repository | https://github.com/pypa/twine |
| Upstream docs | https://twine.readthedocs.io/en/stable |
| License | Apache-2.0 |
| Source archive | https://files.pythonhosted.org/packages/e0/a8/949edebe3a82774c1ec34f637f5dd82d1cf22c25e963b7d63771083bbee5/twine-6.2.0.tar.gz |
| Last updated | 2026-05-15T11:13:54Z |
| Pulse | updated |
| Dependencies | certifi, python@3.14 |
| Build dependencies | rust |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | twine |
| Version Scheme | 0 |
| Revision | 6 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
twine 6.1.0-1
utility for interacting with PyPI
sudo apt install twinetwine
nix profile install nixpkgs#twinetwine 5.0.0-1
utility for interacting with PyPI
sudo apt install twinetwine 6.1.0-r1
Collection of utilities for publishing packages on PyPI
https://twine.readthedocs.io/en/latest/
sudo apk add twinetwine-pyc 6.1.0-r1
Precompiled Python bytecode for twine
https://twine.readthedocs.io/en/latest/
sudo apk add twine-pyctwine 6.2.0-7.fc45
Twine is a utility for publishing Python packages on PyPI
sudo dnf install twinetwine 6.2.0-3
Collection of utilities for interacting with PyPI
https://github.com/pypa/twine/
sudo pacman -S twinetwine
sudo port install twineextras/twine
scoop install extras/twineChrisKlimas.Twine
winget install --id ChrisKlimas.Twine -esource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.