pyrhub.xyz

Python Package Index (PyPI)

The Python Package Index (PyPI), also known as the Cheese Shop, is the official third-party software repository for Python. It is run by the Python Software Foundation and serves as the default source for packages and dependencies for tools like pip.

Diagram showing PyPI as central repository connecting to pip and other
Diagram showing PyPI as central repository connecting to pip and other package managers, with packages in sdists and wheels.

Ключевые величины

PackagesDatePackage formats
614,33913 March 20252 main types
1official repositorysdists and wheels
3package managers (pip, etc.)binary modules possible
1charity (PSF)multiple OS and Python versions

Порядок действий

  1. Install Python and ensure pip is available.
  2. Search for a package on PyPI by keyword or metadata filter.
  3. Install the package using pip, which defaults to PyPI.
  4. Specify version or wheel format if needed for your OS or Python version.
  5. Upgrade or uninstall packages using pip commands.
  6. Check package metadata for license and compatibility.

What is PyPI?

PyPI is the official third-party software repository for Python, analogous to CPAN for Perl and CRAN for R. It is run by the Python Software Foundation, a charity.

Package formats

PyPI primarily hosts Python packages as source archives called sdists or as wheels that may contain binary modules from compiled languages. A single entry can store previous releases, precompiled wheels, and different forms for various operating systems and Python versions.

Usage and statistics

As of 13 March 2025, more than 614,339 packages are available on PyPI. Package managers like pip use PyPI as the default source for packages and dependencies.