Python Package Index

PyPI
Type of site
Software repository
Available inMultilingual
OwnerPython Software Foundation
URLpypi.org
Launched2003[1]
Current statusActive
Written inVarious

The Python Package Index, abbreviated as PyPI (/ˌppiˈ/) and also known as the Cheese Shop (a reference to the Monty Python's Flying Circus sketch "Cheese Shop"),[2]: 8 [3]: 742  is the official third-party software repository for Python.[4] It is analogous to the CPAN repository for Perl[5]: 36  and to the CRAN repository for R. PyPI is run by the Python Software Foundation, a charity. Some package managers, including pip, use PyPI as the default source for packages and their dependencies.[6][7]

As of 6 May 2024, more than 530,000 Python packages are available.

PyPI primarily hosts Python packages in the form of source archives, called "sdists", or of "wheels"[8] that may contain binary modules from a compiled language.

PyPI as an index allows users to search for packages by keywords or by filters against their metadata, such as free software license or compatibility with POSIX.[9] A single entry on PyPI is able to store, aside from just a package and its metadata, previous releases of the package, precompiled wheels (e.g. containing DLLs on Windows), as well as different forms for different operating systems and Python versions.

  1. ^ "Packaging History". Python Packaging Authority — PyPA documentation.
  2. ^ Lutz, Mark (2006). Programming Python. Vol. 10 (3 ed.). O'Reilly Media, Inc. ISBN 9780596009250.
  3. ^ Ramalho, Luciano (2015). Fluent Python. O'Reilly Media, Inc. ISBN 9781491946268.
  4. ^ Cite error: The named reference ancient pypi tutorial was invoked but never defined (see the help page).
  5. ^ Barry, Paul (2010). Head First Python. O'Reilly Media, Inc. ISBN 978-1-4493-8267-4.
  6. ^ Cite error: The named reference pip usage was invoked but never defined (see the help page).
  7. ^ Cite error: The named reference pypi mirrors was invoked but never defined (see the help page).
  8. ^ Cite error: The named reference wheel pep was invoked but never defined (see the help page).
  9. ^ Cite error: The named reference pypi browse was invoked but never defined (see the help page).