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.
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.
- PyPI Index APIdiscovered
- PyPI JSON APIdiscovered
- PyPI Integrity APIdiscovered
- PyPI Stats APIdiscovered
- PyPI Upload APIdiscovered
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.
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
- integrations.json✗
/.well-known/integrations.json - llms.txt✗
/llms.txt - API catalog✗
/.well-known/api-catalog - OpenAPI document✗
/api/schema/, /openapi.json, /swagger.json, /api/openapi.json, or /v1/openapi.json - MCP server card✗
/.well-known/mcp/server-card.json - OAuth protected resource✗
/.well-known/oauth-protected-resource - Agent card✗
/.well-known/agent-card.json - Agent skills✗
/.well-known/agent-skills/index.json
Publish these signals → /publishing