METADATA 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. Metadata-Version: 2.5
  2. Name: urllib3
  3. Version: 2.8.0
  4. Summary: HTTP library with thread-safe connection pooling, file post, and more.
  5. Project-URL: Changelog, https://github.com/urllib3/urllib3/blob/main/CHANGES.rst
  6. Project-URL: Documentation, https://urllib3.readthedocs.io
  7. Project-URL: Code, https://github.com/urllib3/urllib3
  8. Project-URL: Issue tracker, https://github.com/urllib3/urllib3/issues
  9. Project-URL: Security policy, https://urllib3.readthedocs.io/en/latest/security.html
  10. Author-email: Andrey Petrov <andrey.petrov@shazow.net>
  11. Maintainer-email: Seth Michael Larson <sethmichaellarson@gmail.com>, Quentin Pradet <quentin@pradet.me>, Illia Volochii <illia.volochii@gmail.com>
  12. License-Expression: MIT
  13. License-File: LICENSE.txt
  14. Keywords: filepost,http,httplib,https,pooling,ssl,threadsafe,urllib
  15. Classifier: Environment :: Web Environment
  16. Classifier: Intended Audience :: Developers
  17. Classifier: Operating System :: OS Independent
  18. Classifier: Programming Language :: Python
  19. Classifier: Programming Language :: Python :: 3
  20. Classifier: Programming Language :: Python :: 3 :: Only
  21. Classifier: Programming Language :: Python :: 3.10
  22. Classifier: Programming Language :: Python :: 3.11
  23. Classifier: Programming Language :: Python :: 3.12
  24. Classifier: Programming Language :: Python :: 3.13
  25. Classifier: Programming Language :: Python :: 3.14
  26. Classifier: Programming Language :: Python :: 3.15
  27. Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
  28. Classifier: Programming Language :: Python :: Implementation :: CPython
  29. Classifier: Programming Language :: Python :: Implementation :: PyPy
  30. Classifier: Topic :: Internet :: WWW/HTTP
  31. Classifier: Topic :: Software Development :: Libraries
  32. Requires-Python: >=3.10
  33. Provides-Extra: brotli
  34. Requires-Dist: brotli>=1.2.0; (platform_python_implementation == 'CPython') and extra == 'brotli'
  35. Requires-Dist: brotlicffi>=1.2.0.0; (platform_python_implementation != 'CPython') and extra == 'brotli'
  36. Provides-Extra: h2
  37. Requires-Dist: h2<5,>=4; extra == 'h2'
  38. Provides-Extra: socks
  39. Requires-Dist: pysocks!=1.5.7,<2.0,>=1.5.6; extra == 'socks'
  40. Provides-Extra: zstd
  41. Requires-Dist: backports-zstd>=1.0.0; (python_version < '3.14') and extra == 'zstd'
  42. Description-Content-Type: text/markdown
  43. <h1 align="center">
  44. ![urllib3](https://github.com/urllib3/urllib3/raw/main/docs/_static/banner_github.svg)
  45. </h1>
  46. <p align="center">
  47. <a href="https://pypi.org/project/urllib3"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/urllib3.svg?maxAge=86400" /></a>
  48. <a href="https://pypi.org/project/urllib3"><img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/urllib3.svg?maxAge=86400" /></a>
  49. <a href="https://discord.gg/urllib3"><img alt="Join our Discord" src="https://img.shields.io/discord/756342717725933608?color=%237289da&label=discord" /></a>
  50. <a href="https://github.com/urllib3/urllib3/actions?query=workflow%3ACI"><img alt="Coverage Status" src="https://img.shields.io/badge/coverage-100%25-success" /></a>
  51. <a href="https://github.com/urllib3/urllib3/actions/workflows/ci.yml?query=branch%3Amain"><img alt="Build Status on GitHub" src="https://github.com/urllib3/urllib3/actions/workflows/ci.yml/badge.svg?branch:main&workflow:CI" /></a>
  52. <a href="https://urllib3.readthedocs.io"><img alt="Documentation Status" src="https://readthedocs.org/projects/urllib3/badge/?version=latest" /></a><br>
  53. <a href="https://deps.dev/pypi/urllib3"><img alt="OpenSSF Scorecard" src="https://api.securityscorecards.dev/projects/github.com/urllib3/urllib3/badge" /></a>
  54. <a href="https://slsa.dev"><img alt="SLSA 3" src="https://slsa.dev/images/gh-badge-level3.svg" /></a>
  55. <a href="https://bestpractices.coreinfrastructure.org/projects/6227"><img alt="CII Best Practices" src="https://bestpractices.coreinfrastructure.org/projects/6227/badge" /></a>
  56. </p>
  57. urllib3 is a powerful, *user-friendly* HTTP client for Python.
  58. urllib3 brings many critical features that are missing from the Python
  59. standard libraries:
  60. - Thread safety.
  61. - Connection pooling.
  62. - Client-side SSL/TLS verification.
  63. - File uploads with multipart encoding.
  64. - Helpers for retrying requests and dealing with HTTP redirects.
  65. - Support for gzip, deflate, brotli, and zstd encoding.
  66. - Proxy support for HTTP and SOCKS.
  67. - 100% test coverage.
  68. ... and many more features, but most importantly: Our maintainers have a 15+
  69. year track record of maintaining urllib3 with the highest code standards and
  70. attention to security and safety.
  71. [Much of the Python ecosystem already uses urllib3](https://urllib3.readthedocs.io/en/stable/#who-uses)
  72. and you should too.
  73. ## Installing
  74. urllib3 can be installed with [pip](https://pip.pypa.io):
  75. ```bash
  76. $ python -m pip install urllib3
  77. ```
  78. Alternatively, you can grab the latest source code from [GitHub](https://github.com/urllib3/urllib3):
  79. ```bash
  80. $ git clone https://github.com/urllib3/urllib3.git
  81. $ cd urllib3
  82. $ pip install .
  83. ```
  84. ## Getting Started
  85. urllib3 is easy to use:
  86. ```python3
  87. >>> import urllib3
  88. >>> resp = urllib3.request("GET", "http://httpbin.org/robots.txt")
  89. >>> resp.status
  90. 200
  91. >>> resp.data
  92. b"User-agent: *\nDisallow: /deny\n"
  93. ```
  94. urllib3 has usage and reference documentation at [urllib3.readthedocs.io](https://urllib3.readthedocs.io).
  95. ## Community
  96. urllib3 has a [community Discord channel](https://discord.gg/urllib3) for asking questions and
  97. collaborating with other contributors. Drop by and say hello 👋
  98. ## Contributing
  99. urllib3 welcomes contributions. Please read our
  100. [contributing documentation](https://urllib3.readthedocs.io/en/latest/contributing.html)
  101. before starting work.
  102. Check for existing pull requests addressing the same issue, and share feedback
  103. and suggestions in the existing pull request and issue. Duplicate pull
  104. requests, including alternative solutions, will be rejected without review
  105. unless a maintainer has approved opening an alternative pull request in
  106. advance.
  107. ## Security Disclosures
  108. To report a security vulnerability, please use the
  109. [Tidelift security contact](https://tidelift.com/security).
  110. Tidelift will coordinate the fix and disclosure with maintainers.
  111. See the repository
  112. [Security Policy](https://urllib3.readthedocs.io/en/latest/security.html)
  113. for more details.
  114. ## Maintainers
  115. Meet our maintainers since 2008:
  116. - Current Lead: [@illia-v](https://github.com/illia-v) (Illia Volochii)
  117. - [@sethmlarson](https://github.com/sethmlarson) (Seth M. Larson)
  118. - [@pquentin](https://github.com/pquentin) (Quentin Pradet)
  119. - [@theacodes](https://github.com/theacodes) (Thea Flowers)
  120. - [@haikuginger](https://github.com/haikuginger) (Jess Shapiro)
  121. - [@lukasa](https://github.com/lukasa) (Cory Benfield)
  122. - [@sigmavirus24](https://github.com/sigmavirus24) (Ian Stapleton Cordasco)
  123. - [@shazow](https://github.com/shazow) (Andrey Petrov)
  124. 👋
  125. ## Sponsorship
  126. If your company benefits from this library, please consider [sponsoring its
  127. development](https://urllib3.readthedocs.io/en/latest/sponsors.html).
  128. ## For Enterprise
  129. Professional support for urllib3 is available as part of the [Tidelift
  130. Subscription][1]. Tidelift gives software development teams a single source for
  131. purchasing and maintaining their software, with professional grade assurances
  132. from the experts who know it best, while seamlessly integrating with existing
  133. tools.
  134. [1]: https://tidelift.com/subscription/pkg/pypi-urllib3?utm_source=pypi-urllib3&utm_medium=referral&utm_campaign=readme