Skip to content

Welcome to PyPI User Documentation

The Python Package Index (PyPI), pronounced "pie-pea-eye"1, is the official package repository for Python. PyPI hosts packages created and shared by the global Python community.

As a Python user, you can use PyPI to find the code you need for your projects.

As a developer, you can use PyPI to publish and share your Python code with the world.

This documentation site (docs.pypi.org) covers how to use the PyPI website and API. To learn about the codebase that powers PyPI itself, visit the Warehouse documentation.

Contents

Using PyPI

Configuring and Managing PyPI Projects

Publishing Projects to PyPI

  • Publishing to PyPI - How to package and upload a new project or release
  • Trusted Publishing - Publishing via OIDC, without long-lived API tokens
  • Attestations - Cryptographically signing and verifying packages with PEP 740 attestations
  • Troubleshooting - Answers to common errors encountered when uploading a package

Your PyPI Account

Organization Accounts

  • Overview - What organization accounts are and who they're for
  • FAQs - Common questions about organization accounts
  • Roles and Entities - Organization roles, teams, and project-level permissions
  • Pricing and Payments - Costs and billing for organization accounts
  • Support - Getting help with an organization account

APIs & Data Integration

  • PyPI APIs - Overview of the available APIs, caching, and rate limits
  • Index API - The simple repository API used by installers
  • JSON API - Structured project and release data
  • Upload API - Uploading packages programmatically
  • Integrity API - Retrieving PEP 740 attestations and provenance for uploaded files
  • Stats API - Total and per-package size statistics
  • BigQuery Datasets - Public datasets for download statistics and project metadata
  • RSS Feeds - Feeds for new and updated packages
  • Secret Reporting API - Reporting exposed PyPI API tokens found in public places

About PyPI

Help

Contributing to the docs

We welcome contributions to this documentation! If you've noticed an error or would like to suggest an improvement, please open an issue on the pypi/warehouse repository and add the documentation label.


  1. "PyPI" should be pronounced like "pie pea eye", specifically with the "PI" pronounced as individual letters, rather than a single sound. This minimizes confusion with the PyPy project, which is a popular alternative implementation of the Python language. ↩