Python Package Index
Type of site | Software repository |
---|---|
Available in | Multilingual |
Owner | Python Software Foundation |
Website | pypi |
Launched | 2003[1] |
Current status | Active |
Written in | Various |
The Python Package Index, abbreviated as PyPI (/ˌpaɪpiˈaɪ/) 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 January 2022) more than 350,000 Python packages can be accessed through PyPI.[8]
In May 2023, more than 450 000 Python packages are available.
PyPI primarily hosts Python packages in the form of archives called sdists (source distributions) or precompiled "wheels."[9]
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.[10] 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 (distutils) 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 first python release in February 1991, with the goal of simplifying the process of installing third-party Python packages.[11][12]
However, distutils 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.[13] 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.[14] A proposal to create a comprehensive centralised catalog, hosted at the python.org domain, was later finalized in November 2002.[4][13]
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.[15][16] All existing packages were migrated to the new platform with their histories preserved.[17]
As of 15 April 2023, more than 445,000 Python packages are available.
In May 2023 the Python Software Foundation reported that the United States Department of Justice had subpoenaed the user data of five PyPI contributors.[18][19] 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.[18]
Notes
References
- ↑ "Packaging History". https://www.pypa.io/en/latest/history.
- ↑ Lutz, Mark (2006). Programming Python. 10 (3 ed.). O'Reilly Media, Inc.. ISBN 9780596009250.
- ↑ Ramalho, Luciano (2015). Fluent Python. O'Reilly Media, Inc. ISBN 9781491946268.
- ↑ 4.0 4.1 Hylton, Jeremy (24 September 2003). "Python Package Index Tutorial". Jeremy Hylton. http://www.python.org/~jeremy/weblog/030924.html.
- ↑ Barry, Paul (2010). Head First Python. O'Reilly Media, Inc. ISBN 978-1-4493-8267-4.
- ↑ "Usage". pip 1.1.post1 documentation. The pip developers. http://www.pip-installer.org/en/latest/usage.html.
- ↑ "PyPI mirrors". Python Package Index. Python Software Foundation. http://pypi.python.org/mirrors.
- ↑ "PyPI - the Python Package Index". Python Package Index. Python Software Foundation. http://pypi.python.org/pypi.
- ↑ "PEP 427 -- The Wheel Binary Package Format 1.0". Python Software Foundation. 15 February 2013. https://www.python.org/dev/peps/pep-0427/.
- ↑ "Browse : Python Package Index". Python Software Foundation. https://pypi.python.org/pypi?:action=browse.
- ↑ "Python 1.6.1". Python Software Foundation. http://python.org/download/releases/1.6.1/.
- ↑ "What's New in Python 2.0". Python Software Foundation. https://docs.python.org/2/whatsnew/2.0.html.
- ↑ 13.0 13.1 "PEP 301 -- Package Index and Metadata for Distutils". Python Software Foundation. 24 October 2002. https://www.python.org/dev/peps/pep-0301/.
- ↑ "PEP 241 -- Metadata for Python Software Packages". Python Software Foundation. 19 October 2001. https://www.python.org/dev/peps/pep-0241/.
- ↑ "Welcome to Warehouse's documentation!". https://warehouse.readthedocs.io/.
- ↑ "Python Insider: New PyPI launched, legacy PyPI shutting down April 30". Python Software Foundation. 16 April 2018. https://blog.python.org/2018/04/new-pypi-launched-legacy-pypi-shutting.html.
- ↑ "A new package index for Python". LWN.net. https://lwn.net/Articles/751458/.
- ↑ 18.0 18.1 Durbin, Ee (24 May 2023). "PyPI was subpoenaed - The Python Package Index" (in en). https://blog.pypi.org/posts/2023-05-24-pypi-was-subpoenaed/.
- ↑ Rudra, Sourav (25 May 2023). "The Python Software Foundation Complies with PyPI Subpoenas to Share Some User Data" (in en). It's FOSS News. https://news.itsfoss.com/pypi-subpoenaed/.
Original source: https://en.wikipedia.org/wiki/Python Package Index.
Read more |