Skip to main content

urllib3.future is a powerful HTTP 1.1, 2, and 3 client

Project description

urllib3

PyPI Version Python Versions
urllib3.future is as BoringSSL is to OpenSSL but to urllib3 (except support is available!)

⚡ urllib3.future is a powerful, user-friendly HTTP client for Python. ⚡ urllib3.future goes beyond supported features while remaining compatible. ⚡ urllib3.future 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.
  • HTTP/1.1, HTTP/2 and HTTP/3 support.
  • Multiplexed connection.
  • Proxy support for HTTP and SOCKS.
  • 100% test coverage.

urllib3.future is powerful and easy to use:

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

Installing

urllib3.future can be installed with pip:

$ python -m pip install urllib3.future

⚠️ Installing urllib3.future shadows the actual urllib3 package (depending on installation order). The semver will always be like MAJOR.MINOR.9PP like 2.0.941, the patch node is always greater or equal to 900.

Support for bugs or improvements is served in this repository. We regularly sync this fork with the main branch of urllib3/urllib3 against bugfixes and security patches if applicable.

Compatibility with downstream

You should always install the downstream project prior to this fork.

e.g. I want requests to be use this package.

python -m pip install requests
python -m pip install urllib3.future

We suggest using the package Niquests as replacement for Requests. It leverage urllib3.future capabilities.

Documentation

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

Contributing

urllib3.future happily accepts contributions.

Security Disclosures

To report a security vulnerability, please use the GitHub advisory disclosure form.

Sponsorship

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

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

urllib3_future-2.2.907.tar.gz (597.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

urllib3_future-2.2.907-py3-none-any.whl (141.4 kB view details)

Uploaded Python 3

File details

Details for the file urllib3_future-2.2.907.tar.gz.

File metadata

  • Download URL: urllib3_future-2.2.907.tar.gz
  • Upload date:
  • Size: 597.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for urllib3_future-2.2.907.tar.gz
Algorithm Hash digest
SHA256 6144e66aa6604acc7fc8dd23fbdf9f854e4d47ae1aea0153efe18c18b5175c20
MD5 e1a989dce204e1c0e4c9831770a2174b
BLAKE2b-256 bdc7e1cd8ce0264d08888f5959e0b2867139c2d16a4b82512846baada571f15e

See more details on using hashes here.

File details

Details for the file urllib3_future-2.2.907-py3-none-any.whl.

File metadata

File hashes

Hashes for urllib3_future-2.2.907-py3-none-any.whl
Algorithm Hash digest
SHA256 276c16ae6e96aadefbf95f711abb8eddae30811cc8175557a84bac252ff9c6f8
MD5 2b3db875cda449d305a607750aae862f
BLAKE2b-256 0c8c8244cbc8d3a1cc5890b7ab6edc04eeef45c3faf51a528038a6b093c5ff16

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page