twine
Collection of utilities for publishing packages on PyPI
Install
twine on PyPI
pip
pip install twineuv
uv add twinepoetry
poetry add twinePackage facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — readme-renderer, requests, requests-toolbelt, urllib3, keyring, rfc3986, rich, packaging, id |
| Maintenance | actively maintained — 17 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: twine-7.0.0-py3-none-any.whl
About twine
from the package's own PyPI description — quoted content, verbatim
.. |twine-version| image:: https://img.shields.io/pypi/v/twine.svg :target: https://pypi.org/project/twine
.. |python-versions| image:: https://img.shields.io/pypi/pyversions/twine.svg :target: https://pypi.org/project/twine
.. |docs-badge| image:: https://img.shields.io/readthedocs/twine :target: https://twine.readthedocs.io
.. |build-badge| image:: https://img.shields.io/github/actions/workflow/status/pypa/twine/main.yml?branch=main :target: https://github.com/pypa/twine/actions
|twine-version| |python-versions| |docs-badge| |build-badge|
twine
Twine is a utility for publishing Python packages on PyPI.
It provides build system independent uploads of source and binary
distribution artifacts <distributions_> for both new and existing
projects.
See our documentation_ for a description of features, installation
and usage instructions, and links to additional resources.
Contributing
See our developer documentation_ for how to get started, an
architectural overview, and our future development plans.
Code of Conduct
Everyone interacting in the Twine project's codebases, issue trackers, chat rooms, and mailing...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
Twine is a utility for publishing Python packages to PyPI, handling build system-independent uploads of source and binary distribution artifacts.
Low install friction with a pure-wheel distribution and nine runtime dependencies that are themselves stable and widely-used. Actively maintained with a release 17 days ago and ongoing commits.
Licensed under Apache-2.0 (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
Usage
pip install twine
twine upload dist/*
Requires Python 3.10 or later; PyPI credentials or keyring setup needed for authentication.
Verdict: Twine is a mature, actively maintained tool in the top 1000 PyPI packages with no known vulnerabilities, permissive licensing, and low install friction. It is the standard choice for publishing Python packages to PyPI.
Needs verification
- Whether keyring integration requires additional system dependencies or configuration beyond pip install.
- Performance characteristics when uploading large or numerous distribution artifacts.
Similar packages
permissive · top 1,000 on PyPI
pippermissive · top 100 on PyPI
installerpermissive · top 1,000 on PyPI
lazy-loaderpermissive · top 1,000 on PyPI
pywin32permissive · top 1,000 on PyPI
flit-corepermissive · top 1,000 on PyPI
virtualenvpermissive · top 100 on PyPI
readme-rendererpermissive · top 1,000 on PyPI
pytokenspermissive · top 1,000 on PyPI
trove-classifierspermissive · top 100 on PyPI