Pythie
CategoriesTrending
An open index of Python tools.Pythie’s IndexLegal noticePrivacyData: PyPI (package metadata; download statistics under CC BY 4.0, via ClickHouse), deps.dev (CC BY 4.0), GitHub, OSV.

urllib3

2.8.0ActivePythie’s Index: 89

HTTP library with thread-safe connection pooling, file post, and more.

Actively maintained. Last release 2 months ago, commits in 24 of the last 26 weeks. A safe choice.

HTTP & Networking
$pip install urllib3
urllib3/urllib3HomepagePyPI

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. 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.

... and many more features, but most importantly: Our maintainers have a 15+ year track record of maintaining urllib3 with the highest code standards and attention to security and safety.

Much of the Python ecosystem already uses urllib3 and you should too.

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 .

Getting Started

urllib3 is 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"

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 welcomes contributions. Please read our contributing documentation before starting work.

Check for existing pull requests addressing the same issue, and share feedback and suggestions in the existing pull request and issue. Duplicate pull requests, including alternative solutions, will be rejected without review unless a maintainer has approved opening an alternative pull request in advance.

Security Disclosures

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

See the repository Security Policy for more details.

Maintainers

Meet our maintainers since 2008:

  • Current Lead: @illia-v (Illia Volochii)
  • @sethmlarson (Seth M. Larson)
  • @pquentin (Quentin Pradet)
  • @theacodes (Thea Flowers)
  • @haikuginger (Jess Shapiro)
  • @lukasa (Cory Benfield)
  • @sigmavirus24 (Ian Stapleton Cordasco)
  • @shazow (Andrey Petrov)

👋

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.

Popularity

Downloads / month
1.6B
GitHub stars
4.1K
Downloads, last 7 days
353.6M-7%
Stars, last 7 days
–
Direct dependents
9.1K
All dependents
205.5K

Pythie’s Index

How it works
89

Healthy

Maintenance, out of 100

  • Recent release

    last release 74 days ago

  • Commit activity

    24/26 weeks with commits

  • Release cadence

    6 releases in 12 months

  • Issues & PRs handled

    34% closed in the past year

  • Contributor spread

    39 authors in last 100 commits

  • OpenSSF Scorecard

    8.6/10

Commits, last 26 weeks101

Releases

Latest
2.8.0
Released
Sep 15, 2026
Releases, 12 months
6
First release
Dec 11, 2009

Compatibility

Requires Python
>=3.10
Tested on
3.10 · 3.11 · 3.12 · 3.13 · 3.14 · 3.15
License
MIT (Permissive)

Keywords

fileposthttphttplibhttpspoolingsslthreadsafeurllibhttp-clientpythonurllib3

Alternatives

Use instead of urllib3: tools that do the same job, closest first.

Compare with urllib3-future →Compare with pyqwest →Compare with geventhttpclient →Compare all 4 →

  • urllib3-future2.25.907ActivePythie’s Index: 87

    urllib3.future is a powerful HTTP 1.1, 2, and 3 client with both sync and async interfaces

    HTTP & Networking691.7M/moReleased Nov 19, 2026
  • pyqwest0.14.0ActivePythie’s Index: 89

    A modern, high-performance HTTP client for Python and Rust.

    HTTP & NetworkingPerformance & Low-level4115.1M/moReleased Nov 9, 2026
  • geventhttpclient2.6.2ActivePythie’s Index: 75

    HTTP client library for gevent

    HTTP & NetworkingAsync & Concurrency56313.1M/moReleased Nov 17, 2026
  • http_client0.1.22InactivePythie’s Index: 19

    Fast and robust HTTP client based on PyCurl

    HTTP & Networking–142K/moReleased Aug 28, 2017

Works well with

Use together with urllib3: extensions, drivers, servers and companion tools.

  • PySocksPythie’s Index: 17A Python SOCKS client module. See https://github.com/Anorov/PySocks for more information.45.9M downloads/mo
  • simple-salesforcePythie’s Index: 50A basic Salesforce.com REST API client.20.4M downloads/mo
  • opensearch-pyPythie’s Index: 60Python client for OpenSearch35.9M downloads/mo
  • requests-ntlmPythie’s Index: 23This package allows for HTTP NTLM authentication using the requests library.7.8M downloads/mo
  • requests-unixsocketPythie’s Index: 42Use requests to talk HTTP via a UNIX domain socket2.4M downloads/mo
  • pymispPythie’s Index: 86Python API for MISP.436.7K downloads/mo