Debian Codegraph @

PKG-INFO

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