# pypa/twine

Utilities for interacting with PyPI

Repository: https://github.com/pypa/twine
Canonical: https://ross.abutalabs.com/products/pypa-twine
Homepage: https://twine.readthedocs.io/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: python, python3, wheel, python-wheel, pypi, pypi-package, pypi-upload
Last push: 2026-08-20T19:57:20+00:00

## Health v2 (maintenance only)
Score: 89/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 71, longevity 100
- inputs: {"age_days": 4768, "days_push": 13, "days_rel": 36, "gap_med": 138.0, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1787, forks 335 (observed 2026-08-28T04:05:36.267763+00:00)

## What it is
Twine is a utility for publishing Python packages to PyPI, providing build-system-independent uploads of source and binary distribution artifacts. It is the recommended tool for securely uploading sdists and wheels to PyPI and other Python package indexes.

## Use cases
- upload a python package to pypi
- publish wheels and sdists to a package index
- verify a distribution before uploading
- replace setup.py upload for publishing packages
- publish to a private python package index

## When to choose
- you need to publish Python packages to PyPI or a custom index
- you want secure, verified uploads of sdist and wheel artifacts
- you want a build-system-independent upload tool

## When to avoid
- you only need to install packages rather than publish them (use pip)
- you are building packages rather than uploading them (use a build frontend)
- you publish packages for other ecosystems like npm or crates.io

## Facets
- artifact type: cli-tool
- maturity: active
- function: package-manager, cli, developer-tools
- domain: developer-tools, programming-languages
- platform: python, cli, cross-platform
- tags: pypi, python-packaging, package-publishing, wheel, sdist, command-line

## Member repositories
- pypa/twine (main) score 89

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:36.267763+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:23:29.728718+00:00, confidence not recorded.
  - readme: https://github.com/pypa/twine (fetched 2026-08-28T04:05:36.267763+00:00, sha 198d33553d03)
  - registry_pypi: https://pypi.org/pypi/twine/json (fetched 2026-08-29T11:02:54.386312+00:00, sha 24e4294bd3ab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
