urllib3 2.5.0


pip install urllib3

  Latest version

Released: Jun 18, 2025


Meta
Author: Andrey Petrov
Maintainer: Seth Michael Larson, Quentin Pradet, Illia Volochii
Requires Python: >=3.9

Classifiers

Environment
  • Web Environment

Intended Audience
  • Developers

Operating System
  • OS Independent

Programming Language
  • Python
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Topic
  • Internet :: WWW/HTTP
  • Software Development :: Libraries

urllib3

PyPI Version Python Versions Join our Discord Coverage Status Build Status on GitHub Documentation Status
OpenSSF Scorecard SLSA 3 CII Best Practices

urllib3 is a powerful, user-friendly HTTP client for Python. Much of the Python ecosystem already uses urllib3 and you should too. urllib3 brings many critical features that are missing from the Python standard libraries:

  • Thread safety.
  • Connection pooling.
  • Client-side SSL/TLS verification.
  • File uploads with multipart encoding.
  • Helpers for retrying requests and dealing with HTTP redirects.
  • Support for gzip, deflate, brotli, and zstd encoding.
  • Proxy support for HTTP and SOCKS.
  • 100% test coverage.

urllib3 is powerful and easy to use:

>>> import urllib3
>>> resp = urllib3.request("GET", "http://httpbin.org/robots.txt")
>>> resp.status
200
>>> resp.data
b"User-agent: *\nDisallow: /deny\n"

Installing

urllib3 can be installed with pip:

$ python -m pip install urllib3

Alternatively, you can grab the latest source code from GitHub:

$ git clone https://github.com/urllib3/urllib3.git
$ cd urllib3
$ pip install .

Documentation

urllib3 has usage and reference documentation at urllib3.readthedocs.io.

Community

urllib3 has a community Discord channel for asking questions and collaborating with other contributors. Drop by and say hello ๐Ÿ‘‹

Contributing

urllib3 happily accepts contributions. Please see our contributing documentation for some tips on getting started.

Security Disclosures

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure with maintainers.

Maintainers

๐Ÿ‘‹

Sponsorship

If your company benefits from this library, please consider sponsoring its development.

For Enterprise

Professional support for urllib3 is available as part of the Tidelift Subscription. Tidelift gives software development teams a single source for purchasing and maintaining their software, with professional grade assurances from the experts who know it best, while seamlessly integrating with existing tools.

2.5.0 Jun 18, 2025
2.4.0 Apr 10, 2025
2.3.0 Dec 22, 2024
2.2.3 Sep 12, 2024
2.2.2 Jun 17, 2024
2.2.1 Feb 18, 2024
2.2.0 Jan 30, 2024
2.1.0 Nov 13, 2023
2.0.7 Oct 17, 2023
2.0.6 Oct 02, 2023
2.0.5 Sep 20, 2023
2.0.4 Jul 19, 2023
2.0.3 Jun 07, 2023
2.0.2 May 03, 2023
2.0.1 Apr 30, 2023
2.0.0 Apr 26, 2023
2.0.0a4 Apr 25, 2023
2.0.0a3 Jan 11, 2023
2.0.0a2 Nov 23, 2022
2.0.0a1 Nov 15, 2022
1.26.20 Aug 29, 2024
1.26.19 Jun 17, 2024
1.26.18 Oct 17, 2023
1.26.17 Oct 02, 2023
1.26.16 May 23, 2023
1.26.15 Mar 11, 2023
1.26.14 Jan 11, 2023
1.26.13 Nov 23, 2022
1.26.12 Aug 22, 2022
1.26.11 Jul 25, 2022
1.26.10 Jul 07, 2022
1.26.9 Mar 16, 2022
1.26.8 Jan 07, 2022
1.26.7 Sep 22, 2021
1.26.6 Jun 25, 2021
1.26.5 May 26, 2021
1.26.4 Mar 15, 2021
1.26.3 Jan 26, 2021
1.26.2 Nov 12, 2020
1.26.1 Nov 11, 2020
1.26.0 Nov 10, 2020
1.25.11 Oct 19, 2020
1.25.10 Jul 22, 2020
1.25.9 Apr 16, 2020
1.25.8 Jan 21, 2020
1.25.7 Nov 11, 2019
1.25.6 Sep 24, 2019
1.25.5 Sep 20, 2019
1.25.4 Sep 19, 2019
1.25.3 May 23, 2019
1.25.2 Apr 29, 2019
1.25.1 Apr 24, 2019
1.25 Apr 22, 2019
1.24.3 May 02, 2019
1.24.2 Apr 17, 2019
1.24.1 Nov 02, 2018
1.24 Oct 16, 2018
1.23 Jun 05, 2018
1.22 Jul 20, 2017
1.21.1 May 02, 2017
1.21 Apr 25, 2017
1.20 Jan 19, 2017
1.19.1 Nov 16, 2016
1.19 Nov 03, 2016
1.18.1 Oct 27, 2016
1.18 Sep 26, 2016
1.17 Sep 06, 2016
1.16 Jun 11, 2016
1.15.1 Apr 11, 2016
1.15 Apr 06, 2016
1.14 Dec 29, 2015
1.13.1 Dec 18, 2015
1.13 Dec 14, 2015
1.12 Sep 06, 2015
1.11 Jul 21, 2015
1.10.4 May 03, 2015
1.10.3 Apr 21, 2015
1.10.2 Feb 25, 2015
1.10.1 Feb 11, 2015
1.10 Dec 14, 2014
1.9.1 Sep 13, 2014
1.9 Jul 07, 2014
1.8.3 Jun 24, 2014
1.8.2 Apr 18, 2014
1.8 Mar 06, 2014
1.7.1 Sep 25, 2013
1.7 Aug 14, 2013
1.6 Apr 25, 2013
1.5 Aug 02, 2012
1.4 Jun 16, 2012
1.3 Mar 25, 2012
1.2.2 Feb 06, 2012
1.2.1 Feb 05, 2012
1.2 Jan 30, 2012
1.1 Jan 07, 2012
1.0.2 Nov 04, 2011
1.0.1 Oct 11, 2011
1.0 Oct 09, 2011
0.3 Dec 11, 2009
0.2

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies: