Debian Codegraph @

PKG-INFO

raw
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 <[email protected]>
11 Maintainer-email: Seth Michael Larson <[email protected]>, Quentin Pradet <[email protected]>, Illia Volochii <[email protected]>
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
44 <h1 align="center">
45
46 ![urllib3](https://github.com/urllib3/urllib3/raw/main/docs/_static/banner_github.svg)
47
48 </h1>
49
50 <p align="center">
51 <a href="https://pypi.org/project/urllib3"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/urllib3.svg?maxAge=86400" /></a>
52 <a href="https://pypi.org/project/urllib3"><img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/urllib3.svg?maxAge=86400" /></a>
53 <a href="https://discord.gg/urllib3"><img alt="Join our Discord" src="https://img.shields.io/discord/756342717725933608?color=%237289da&label=discord" /></a>
54 <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>
55 <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>
56 <a href="https://urllib3.readthedocs.io"><img alt="Documentation Status" src="https://readthedocs.org/projects/urllib3/badge/?version=latest" /></a><br>
57 <a href="https://deps.dev/pypi/urllib3"><img alt="OpenSSF Scorecard" src="https://api.securityscorecards.dev/projects/github.com/urllib3/urllib3/badge" /></a>
58 <a href="https://slsa.dev"><img alt="SLSA 3" src="https://slsa.dev/images/gh-badge-level3.svg" /></a>
59 <a href="https://bestpractices.coreinfrastructure.org/projects/6227"><img alt="CII Best Practices" src="https://bestpractices.coreinfrastructure.org/projects/6227/badge" /></a>
60 </p>
61
62 urllib3 is a powerful, *user-friendly* HTTP client for Python.
63 urllib3 brings many critical features that are missing from the Python
64 standard libraries:
65
66 - Thread safety.
67 - Connection pooling.
68 - Client-side SSL/TLS verification.
69 - File uploads with multipart encoding.
70 - Helpers for retrying requests and dealing with HTTP redirects.
71 - Support for gzip, deflate, brotli, and zstd encoding.
72 - Proxy support for HTTP and SOCKS.
73 - 100% test coverage.
74
75 ... and many more features, but most importantly: Our maintainers have a 15+
76 year track record of maintaining urllib3 with the highest code standards and
77 attention to security and safety.
78
79 [Much of the Python ecosystem already uses urllib3](https://urllib3.readthedocs.io/en/stable/#who-uses)
80 and you should too.
81
82
83 ## Installing
84
85 urllib3 can be installed with [pip](https://pip.pypa.io):
86
87 ```bash
88 $ python -m pip install urllib3
89 ```
90
91 Alternatively, you can grab the latest source code from [GitHub](https://github.com/urllib3/urllib3):
92
93 ```bash
94 $ git clone https://github.com/urllib3/urllib3.git
95 $ cd urllib3
96 $ pip install .
97 ```
98
99 ## Getting Started
100
101 urllib3 is easy to use:
102
103 ```python3
104 >>> import urllib3
105 >>> resp = urllib3.request("GET", "http://httpbin.org/robots.txt")
106 >>> resp.status
107 200
108 >>> resp.data
109 b"User-agent: *\nDisallow: /deny\n"
110 ```
111
112 urllib3 has usage and reference documentation at [urllib3.readthedocs.io](https://urllib3.readthedocs.io).
113
114
115 ## Community
116
117 urllib3 has a [community Discord channel](https://discord.gg/urllib3) for asking questions and
118 collaborating with other contributors. Drop by and say hello 👋
119
120
121 ## Contributing
122
123 urllib3 welcomes contributions. Please read our
124 [contributing documentation](https://urllib3.readthedocs.io/en/latest/contributing.html)
125 before starting work.
126
127 Check for existing pull requests addressing the same issue, and share feedback
128 and suggestions in the existing pull request and issue. Duplicate pull
129 requests, including alternative solutions, will be rejected without review
130 unless a maintainer has approved opening an alternative pull request in
131 advance.
132
133
134 ## Security Disclosures
135
136 To report a security vulnerability, please use the
137 [Tidelift security contact](https://tidelift.com/security).
138 Tidelift will coordinate the fix and disclosure with maintainers.
139
140 See the repository
141 [Security Policy](https://urllib3.readthedocs.io/en/latest/security.html)
142 for more details.
143
144
145 ## Maintainers
146
147 Meet our maintainers since 2008:
148
149 - Current Lead: [@illia-v](https://github.com/illia-v) (Illia Volochii)
150 - [@sethmlarson](https://github.com/sethmlarson) (Seth M. Larson)
151 - [@pquentin](https://github.com/pquentin) (Quentin Pradet)
152 - [@theacodes](https://github.com/theacodes) (Thea Flowers)
153 - [@haikuginger](https://github.com/haikuginger) (Jess Shapiro)
154 - [@lukasa](https://github.com/lukasa) (Cory Benfield)
155 - [@sigmavirus24](https://github.com/sigmavirus24) (Ian Stapleton Cordasco)
156 - [@shazow](https://github.com/shazow) (Andrey Petrov)
157
158 👋
159
160
161 ## Sponsorship
162
163 If your company benefits from this library, please consider [sponsoring its
164 development](https://urllib3.readthedocs.io/en/latest/sponsors.html).
165
166
167 ## For Enterprise
168
169 Professional support for urllib3 is available as part of the [Tidelift
170 Subscription][1]. Tidelift gives software development teams a single source for
171 purchasing and maintaining their software, with professional grade assurances
172 from the experts who know it best, while seamlessly integrating with existing
173 tools.
174
175 [1]: https://tidelift.com/subscription/pkg/pypi-urllib3?utm_source=pypi-urllib3&utm_medium=referral&utm_campaign=readme