Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Python Package Index

From Wikipedia, the free encyclopedia
Software repository
"PyPI" redirects here. Not to be confused withPyPy, a Python interpreter and JIT compiler.
PyPI
Type of site
Software repository
Available inMultilingual
OwnerPython Software Foundation
URLpypi.org
Launched2003[1]
Current statusActive
Written inVarious

ThePython Package Index, abbreviated asPyPI (/ˌppiˈ/) and also known as theCheese Shop (a reference to theMonty Python's Flying Circus sketch "Cheese Shop"),[2]: 8 [3]: 742  is the official third-partysoftware repository forPython.[4] It is analogous to theCPAN repository forPerl[5]: 36  and to theCRAN repository forR. PyPI is run by thePython Software Foundation, a charity. Somepackage managers, includingpip, use PyPI as the default source for packages and their dependencies.[6][7]

As of 13 March 2025,[update] more than 614,339[8] packages are available.

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

PyPI as an index allows users to search for packages bykeywords or byfilters against theirmetadata, such asfree software license or compatibility withPOSIX.[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. containingDLLs on Windows), as well as different forms for differentoperating systems and Python versions.

History

[edit]

ThePython 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 the first Python release in February 1991, with the goal of simplifying the process of installingthird-party Python packages.[11][12]

However,distutils only provided the tools for packaging Pythoncode, and no more. It was able to collect and distributemetadata 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]

In May 2023 the Python Software Foundation reported that theUnited States Department of Justice hadsubpoenaed 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

[edit]
Wikidata has the property:

References

[edit]
  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. ^abHylton, Jeremy (24 September 2003)."Python Package Index Tutorial". Jeremy Hylton. Archived fromthe original on 21 May 2012. Retrieved22 April 2012.
  5. ^Barry, Paul (2010).Head First Python. O'Reilly Media, Inc.ISBN 978-1-4493-8267-4.
  6. ^"Usage".pip 1.1.post1 documentation. The pip developers. Archived fromthe original on 2 May 2012.
  7. ^"PyPI mirrors".Python Package Index.Python Software Foundation. Archived fromthe original on 3 May 2012. Retrieved22 April 2012.
  8. ^"PyPI".PyPI. 2025-03-13.Archived from the original on 2025-02-22.
  9. ^"PEP 427 -- The Wheel Binary Package Format 1.0".Python Software Foundation. 15 February 2013. Retrieved28 October 2017.
  10. ^"Browse : Python Package Index".Python Software Foundation. Retrieved2 August 2016.
  11. ^"Python 1.6.1".Python Software Foundation. Retrieved24 April 2012.
  12. ^"What's New in Python 2.0".Python Software Foundation. Retrieved2 August 2016.
  13. ^ab"PEP 301 -- Package Index and Metadata for Distutils".Python Software Foundation. 24 October 2002. Retrieved3 June 2012.
  14. ^"PEP 241 -- Metadata for Python Software Packages".Python Software Foundation. 19 October 2001. Retrieved18 August 2016.
  15. ^"Welcome to Warehouse's documentation!".
  16. ^"Python Insider: New PyPI launched, legacy PyPI shutting down April 30".Python Software Foundation. 16 April 2018. Retrieved1 June 2018.
  17. ^"A new package index for Python".LWN.net. Retrieved1 June 2018.
  18. ^abDurbin, Ee (24 May 2023)."PyPI was subpoenaed - The Python Package Index".blog.pypi.org.
  19. ^Rudra, Sourav (25 May 2023)."The Python Software Foundation Complies with PyPI Subpoenas to Share Some User Data".It's FOSS News.
Retrieved from "https://en.wikipedia.org/w/index.php?title=Python_Package_Index&oldid=1323256622"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2025 Movatter.jp