PyPI website screenshot

PyPI

PyPI (Python Package Index) is the official third-party software repository for Python, serving as the central hub where developers publish and distribute Python packages. Their developer platform provides a suite of APIs for querying package metadata, downloading distributions, publishing packages, verifying supply chain integrity, and tracking download statistics across the Python ecosystem.

6 APIs 0 Features
Developer ToolsOpen SourcePackage ManagementPackagesPython

APIs

PyPI JSON API

The PyPI JSON API provides metadata about individual Python packages hosted on the Python Package Index. It returns project-level information including the latest version, all a...

PyPI Index API

The PyPI Index API implements the PEP 503 (HTML) and PEP 691 (JSON) simple repository standards for discovering and downloading Python packages. It provides a machine-readable i...

PyPI Integrity API

The PyPI Integrity API provides access to digital attestations and provenance information for Python package distribution files. It allows clients to retrieve cryptographic atte...

PyPI Upload API

The PyPI Upload API is the endpoint used by tools like twine and build frontends to publish Python package distributions to the Python Package Index. Served at upload.pypi.org, ...

PyPI RSS Feeds

PyPI provides RSS feeds that allow developers and tools to monitor package activity on the Python Package Index. Three feeds are available: the Newest Packages feed for recently...

PyPI Stats API

The PyPI Stats API provides aggregate download statistics and time series data for Python packages hosted on PyPI. It offers JSON endpoints for querying download counts broken d...

Collections

Pricing Plans

Pypi Plans Pricing

1 plans

PLANS

Rate Limits

Pypi Rate Limits

2 limits

RATE LIMITS

FinOps

Pypi Finops

FINOPS

Semantic Vocabularies

Pypi Context

0 classes · 5 properties

JSON-LD

Resources

👥
GitHubOrganization
GitHubOrganization
🌐
Portal
Portal
🔗
Documentation
Documentation
🔗
Website
Website
📜
PrivacyPolicy
PrivacyPolicy
📜
TermsOfService
TermsOfService
💬
Support
Support
📰
Blog
Blog
🔗
Login
Login

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: PyPI Upload API
  version: '1.0'
request:
  auth:
    type: basic
    username: '{{username}}'
    password: '{{password}}'
items:
- info:
    name: Upload
    type: folder
  items:
  - info:
      name: Upload a distribution file
      type: http
    http:
      method: POST
      url: https://upload.pypi.org/legacy/
      body:
        type: multipart-form
        data: []
    docs: Uploads a Python package distribution file (source distribution or wheel) to PyPI. The request must use multipart/form-data
      encoding and include the distribution file as the content part along with package metadata as form fields. Authentication
      is required via HTTP Basic Auth using the username __token__ and an API token as the password, or via a short-lived
      token obtained through Trusted Publishing. PEP 740 attestations may optionally be attached for supply chain integrity
      verification.
bundled: true