Python Package Index

Software repository


title: "Python Package Index" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["archive-networks", "python-(programming-language)"] description: "Software repository" topic_path: "general/archive-networks" source: "https://en.wikipedia.org/wiki/Python_Package_Index" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

::summary Software repository ::

::data[format=table title="Infobox website"]

FieldValue
namePyPI
logoPyPI logo.svg
typeSoftware repository
ownerPython Software Foundation
languageMultilingual
url
launch_date2003
current_statusActive
programming_languageVarious
::

| name = PyPI | logo = PyPI logo.svg | type = Software repository | owner = Python Software Foundation | language = Multilingual | url = | launch_date = 2003 | current_status = Active | programming_language = Various

The Python Package Index, abbreviated as PyPI () and also known as the Cheese Shop (a reference to the Monty Python's Flying Circus sketch "Cheese Shop"), is the official third-party software repository for Python. It is analogous to the CPAN repository for Perl 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.

more than 614,339 packages are available.

PyPI primarily hosts Python packages in the form of source archives, called "sdists", or of "wheels" 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. 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.

History

The Python Distribution Utilities (**) Python module was first added to the Python standard library in the 1.6.1 release, in September 2000, and in the 2.0 release, in October 2000, nine years after the first Python release in February 1991, with the goal of simplifying the process of installing third-party Python packages.

However, ** only provided the tools for packaging Python code, and no more. It was able to collect and distribute metadata but did not use it for other purposes. Python still lacked a centralised catalog for packages on the internet. PEP 241, a proposal to standardize metadata for indexes, was finalized in March 2001. A proposal to create a comprehensive centralised catalog, hosted at the python.org domain, was later finalized in November 2002.

On 16 April 2018, all PyPI traffic began being served by a more modern website platform: Warehouse. The legacy website was turned off at the end of that month. All existing packages were migrated to the new platform with their histories preserved.

In May 2023 the Python Software Foundation reported that the United States Department of Justice had subpoenaed the user data of five PyPI contributors. A representative of the organization further explained that they expect privacy for contributors, but they also comply with the law and court orders, and for this reason turned over the data which the government requested.

Notes

References

References

  1. "Packaging History".
  2. Lutz, Mark. (2006). "Programming Python". O'Reilly Media, Inc..
  3. Ramalho, Luciano. (2015). "Fluent Python". O'Reilly Media, Inc.
  4. Barry, Paul. (2010). "Head First Python". O'Reilly Media, Inc.
  5. (2025-03-13). "PyPI".
  6. "Welcome to Warehouse's documentation!".
  7. (16 April 2018). "Python Insider: New PyPI launched, legacy PyPI shutting down April 30". [[Python Software Foundation]].
  8. "A new package index for Python". [[LWN.net]].
  9. (24 May 2023). "PyPI was subpoenaed - The Python Package Index".
  10. (25 May 2023). "The Python Software Foundation Complies with PyPI Subpoenas to Share Some User Data". It's FOSS News.
  11. Hylton, Jeremy. (24 September 2003). "Python Package Index Tutorial". Jeremy Hylton.
  12. "PyPI mirrors". [[Python Software Foundation]].
  13. "Usage". The pip developers.
  14. "Python 1.6.1". [[Python Software Foundation]].
  15. "What's New in Python 2.0". [[Python Software Foundation]].
  16. (19 October 2001). "PEP 241 -- Metadata for Python Software Packages". [[Python Software Foundation]].
  17. (24 October 2002). "PEP 301 -- Package Index and Metadata for Distutils". [[Python Software Foundation]].
  18. "Browse : Python Package Index". [[Python Software Foundation]].
  19. (15 February 2013). "PEP 427 -- The Wheel Binary Package Format 1.0". [[Python Software Foundation]].

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

archive-networkspython-(programming-language)