Python HTTP library with thread-safe connection pooling, file post support, user friendly, and more.
.. raw:: html
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:
urllib3 is powerful and easy to use:
.. code-block:: python
>>> import urllib3 >>> http = urllib3.PoolManager() >>> r = http.request('GET', 'http://httpbin.org/robots.txt') >>> r.status 200 >>> r.data 'User-agent: *\nDisallow: /deny\n'
urllib3 can be installed with
pip_::
$ python -m pip install urllib3
Alternatively, you can grab the latest source code from
GitHub_::
$ git clone git://github.com/urllib3/urllib3.git $ python setup.py install
urllib3 has usage and reference documentation at
urllib3.readthedocs.io_.
urllib3 has a
community Discord channel_ for asking questions and collaborating with other contributors. Drop by and say hello 👋
urllib3 happily accepts contributions. Please see our
contributing documentation_ for some tips on getting started.
To report a security vulnerability, please use the
Tidelift security contact_. Tidelift will coordinate the fix and disclosure with maintainers.
@sethmlarson__ (Seth M. Larson)
@pquentin__ (Quentin Pradet)
@theacodes__ (Thea Flowers)
@haikuginger__ (Jess Shapiro)
@lukasa__ (Cory Benfield)
@sigmavirus24__ (Ian Stapleton Cordasco)
@shazow__ (Andrey Petrov)
👋
If your company benefits from this library, please consider
sponsoring its development_.
.. |tideliftlogo| image:: https://nedbatchelder.com/pix/TideliftLogosRGBTideliftShorthandOn-Whitesmall.png :width: 75 :alt: Tidelift
.. list-table:: :widths: 10 100
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.
.. Tidelift Subscription: https://tidelift.com/subscription/pkg/pypi-urllib3?utmsource=pypi-urllib3&utmmedium=referral&utmcampaign=readme