P

pypi.org

PyPI is the Python Package Index, the public repository where Python packages are published and distributed. It hosts package metadata, distribution files, and related integrity information for the Python packaging ecosystem.

5 integrations · REST

PyPI exposes public HTTP APIs for package indexes, project metadata, provenance, and stats, plus an authenticated package upload API that accepts API tokens or Trusted Publisher/OIDC-based publishing.

discovered 2mo ago
REST · OpenAPI5
Credentials
PyPI API tokenapi_keyGet key ↗

Sign in to PyPI account settings and create an API token from Add API token. PyPI supports account-scoped and project-scoped tokens. Use the token as the password and the literal username __token__ when uploading with tools like twine.

PyPI Trusted Publisher configuration (OIDC-exchanged short-lived API token)two_stepGet key ↗

Configure a Trusted Publisher for your project in PyPI following Getting Started and Adding a Trusted Publisher. In CI, use the recommended `pypi-publish` GitHub Action or another supported provider flow; the CI provider supplies an OIDC token and PyPI exchanges it for a short-lived API token valid for about 15 minutes.

conventions · 0/8 published

Publish these signals → /publishing