macOS
brew install twinelocal Homebrew formula metadata
sudo port install twineMacPorts ports tree · python/twine/Portfile · 来源: api.github.com
安装
brew install twinelocal Homebrew formula metadata
sudo port install twineMacPorts ports tree · python/twine/Portfile · 来源: api.github.com
sudo apk add twineAlpine Linux edge package indexes · twine · 来源: dl-cdn.alpinelinux.org
sudo dnf install twineFedora Rawhide package metadata · twine · 来源: dl.fedoraproject.org
nix profile install nixpkgs#twinenixpkgs package indexes · twine · 来源: raw.githubusercontent.com
sudo pacman -S twineArch Linux sync databases · twine · 来源: geo.mirror.pkgbuild.com
scoop install extras/twineScoop official bucket manifest trees · bucket/twine.json · 来源: api.github.com
winget install --id ChrisKlimas.Twine -eWindows Package Manager source index · ChrisKlimas.Twine · 来源: cdn.winget.microsoft.com
概览
Utilities for interacting with PyPI
历史
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.
安全态势
没有找到 twine 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
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.
~/.pypirc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
twine | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:twine |
|---|---|
| 版本 | 6.2.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/twine |
| 主页 | https://github.com/pypa/twine |
| 仓库 | https://github.com/pypa/twine |
| 上游文档 | https://twine.readthedocs.io/en/stable |
| 许可证 | Apache-2.0 |
| 源码归档 | https://files.pythonhosted.org/packages/e0/a8/949edebe3a82774c1ec34f637f5dd82d1cf22c25e963b7d63771083bbee5/twine-6.2.0.tar.gz |
| 最后更新 | 2026-05-15T11:13:54Z |
| Pulse | updated |
| 依赖 | certifi, python@3.14 |
| 构建依赖 | rust |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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 -e来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.