Automic VaultAutomic Vault

brew

twine mit Homebrew, apk, apt, dnf, MacPorts, Nix, pacman, scoop, winget installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für twine in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install twine

local Homebrew formula metadata

MacPortsverifiziert · 94%
sudo port install twine

MacPorts ports tree · python/twine/Portfile · Quelle: api.github.com

Linux

Alpine Linux apkverifiziert · 92%
sudo apk add twine

Alpine Linux edge package indexes · twine · Quelle: dl-cdn.alpinelinux.org

Debian aptverifiziert · 92%
sudo apt install twine

Debian stable package indexes · twine · Quelle: deb.debian.org

Fedora dnfverifiziert · 92%
sudo dnf install twine

Fedora Rawhide package metadata · twine · Quelle: dl.fedoraproject.org

Nixverifiziert · 92%
nix profile install nixpkgs#twine

nixpkgs package indexes · twine · Quelle: raw.githubusercontent.com

Arch Linux pacmanverifiziert · 92%
sudo pacman -S twine

Arch Linux sync databases · twine · Quelle: geo.mirror.pkgbuild.com

Windows

Scoopverifiziert · 92%
scoop install extras/twine

Scoop official bucket manifest trees · bucket/twine.json · Quelle: api.github.com

Windows Package Managerverifiziert · 92%
winget install --id ChrisKlimas.Twine -e

Windows Package Manager source index · ChrisKlimas.Twine · Quelle: cdn.winget.microsoft.com

Überblick

Paketzusammenfassung

Utilities for interacting with PyPI

Befehle und Aliase

  • twine

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2010s: Twine 1.x establishes the build-then-upload PyPI workflow.
  • 2019-09-24: Twine 2.0.0 requires Python 3.6 or later.
  • 2019-2022: Twine 3.x and 4.x improve authentication, non-interactive use, metadata handling, and modern Python support.
  • 2024-2025: Twine 5.x and 6.x remove older formats and add work around token defaults, trusted publishing, and refreshed short-lived tokens.

Related projects

  • PyPI and Warehouse are Twine's primary public upload targets.
  • `python -m build`, setuptools, wheels, and source distributions form the artifact side of the workflow Twine uploads.
  • The Python Packaging User Guide and PyPA recommendations helped make Twine part of standard Python release practice.

Quellen

  • Official GitHub repository: https://github.com/pypa/twine
  • Official changelog: https://twine.readthedocs.io/en/stable/changelog.html
  • Official documentation: https://twine.readthedocs.io/en/stable/
  • PyPI project page: https://pypi.org/project/twine/

Sicherheitslage

Noch keine Protected-Tool-Abdeckung gefunden

Für twine wurde kein passendes lokales Secret-Handling-Manifest gefunden. Nucleus-Paketmetadaten bleiben hier veröffentlicht, damit künftige Abdeckung eine stabile Paket-URL hat.

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 6 Plattformziele verfügbar.
  • Installiert mit 2 Laufzeitabhängigkeiten.
  • Build-Metadaten listen 1 Build-Abhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.pypirc

Credential files

Credential-bearing paths to review before unattended agent runs.

Unix
~/.pypirc

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
twinecliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version6.2.0
Manager aktualisiert2026-05-15
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/pypa/twine

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:twine
Version6.2.0
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/twine
Homepagehttps://github.com/pypa/twine
Repositoryhttps://github.com/pypa/twine
Upstream-Dokumentationhttps://twine.readthedocs.io/en/stable
LizenzApache-2.0
Quellarchivhttps://files.pythonhosted.org/packages/e0/a8/949edebe3a82774c1ec34f637f5dd82d1cf22c25e963b7d63771083bbee5/twine-6.2.0.tar.gz
Zuletzt aktualisiert2026-05-15T11:13:54Z
Pulseupdated
Abhängigkeitencertifi, python@3.14
Build-Abhängigkeitenrust
Bottleverfügbar (auf arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nametwine
Version Scheme0
Revision6
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Debian apt95%

twine 6.1.0-1

utility for interacting with PyPI

https://github.com/pypa/twine

sudo apt install twine
  • Section: utils
  • Architecture: all
  • 12 Abhängigkeiten
  • 1 optionale Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Twine
Debian stable package indexes · deb.debian.org · Debian stable package indexes: twine from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

twine

nix profile install nixpkgs#twine
  • normalized package name match
  • Abgeglichen nach: Twine
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: twine from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Ubuntu apt95%

twine 5.0.0-1

utility for interacting with PyPI

https://github.com/pypa/twine

sudo apt install twine
  • Section: universe/utils
  • Architecture: all
  • 11 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Twine
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: twine from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
apk95%

twine 6.1.0-r1

Collection of utilities for publishing packages on PyPI

https://twine.readthedocs.io/en/latest/

sudo apk add twine
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: twine
  • 1 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Twine
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: twine from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

twine-pyc 6.1.0-r1

Precompiled Python bytecode for twine

https://twine.readthedocs.io/en/latest/

sudo apk add twine-pyc
  • License: Apache-2.0
  • Architecture: x86_64
  • Source Package: twine
  • 1 Abhängigkeiten
  • normalized package name match
  • Abgeglichen nach: Twine
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: twine-pyc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

twine 6.2.0-7.fc45

Twine is a utility for publishing Python packages on PyPI

https://github.com/pypa/twine

sudo dnf install twine
  • License: Apache-2.0
  • Category: Unspecified
  • Architecture: noarch
  • Source Package: python-twine
  • 3 Abhängigkeiten
  • 3 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Twine
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: twine from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
pacman95%

twine 6.2.0-3

Collection of utilities for interacting with PyPI

https://github.com/pypa/twine/

sudo pacman -S twine
  • License: Apache-2.0
  • Architecture: any
  • 11 Abhängigkeiten
  • 1 stellt bereit
  • normalized package name match
  • Abgeglichen nach: Twine
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: twine from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

twine

sudo port install twine
  • normalized package name match
  • Abgeglichen nach: Twine
MacPorts ports tree · api.github.com · MacPorts ports tree: python/twine/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Scoop95%

extras/twine

scoop install extras/twine
  • normalized package name match
  • Abgeglichen nach: Twine
Scoop official bucket manifest trees · api.github.com · Scoop official bucket manifest trees: bucket/twine.json from https://api.github.com/repos/ScoopInstaller/Extras/git/trees/master?recursive=1
winget95%

ChrisKlimas.Twine

winget install --id ChrisKlimas.Twine -e
  • normalized package name match
  • Abgeglichen nach: Twine
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: ChrisKlimas.Twine from https://cdn.winget.microsoft.com/cache/source.msix

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment