| 1 |
.. _recommended: |
| 2 |
|
| 3 |
Recommended Packages and Extensions |
| 4 |
=================================== |
| 5 |
|
| 6 |
Requests has a great variety of powerful and useful third-party extensions. |
| 7 |
This page provides an overview of some of the best of them. |
| 8 |
|
| 9 |
Certifi CA Bundle |
| 10 |
----------------- |
| 11 |
|
| 12 |
`Certifi`_ is a carefully curated collection of Root Certificates for |
| 13 |
validating the trustworthiness of SSL certificates while verifying the |
| 14 |
identity of TLS hosts. It has been extracted from the Requests project. |
| 15 |
|
| 16 |
.. _Certifi: https://github.com/certifi/python-certifi |
| 17 |
|
| 18 |
CacheControl |
| 19 |
------------ |
| 20 |
|
| 21 |
`CacheControl`_ is an extension that adds a full HTTP cache to Requests. This |
| 22 |
makes your web requests substantially more efficient, and should be used |
| 23 |
whenever you're making a lot of web requests. |
| 24 |
|
| 25 |
.. _CacheControl: https://cachecontrol.readthedocs.io/en/latest/ |
| 26 |
|
| 27 |
Requests-Toolbelt |
| 28 |
----------------- |
| 29 |
|
| 30 |
`Requests-Toolbelt`_ is a collection of utilities that some users of Requests may desire, |
| 31 |
but do not belong in Requests proper. This library is actively maintained |
| 32 |
by members of the Requests core team, and reflects the functionality most |
| 33 |
requested by users within the community. |
| 34 |
|
| 35 |
.. _Requests-Toolbelt: https://toolbelt.readthedocs.io/en/latest/index.html |
| 36 |
|
| 37 |
|
| 38 |
Requests-Threads |
| 39 |
---------------- |
| 40 |
|
| 41 |
`Requests-Threads`_ is a Requests session that returns the amazing Twisted's awaitable Deferreds instead of Response objects. This allows the use of ``async``/``await`` keyword usage on Python 3, or Twisted's style of programming, if desired. |
| 42 |
|
| 43 |
.. _Requests-Threads: https://github.com/requests/requests-threads |
| 44 |
|
| 45 |
Requests-OAuthlib |
| 46 |
----------------- |
| 47 |
|
| 48 |
`requests-oauthlib`_ makes it possible to do the OAuth dance from Requests |
| 49 |
automatically. This is useful for the large number of websites that use OAuth |
| 50 |
to provide authentication. It also provides a lot of tweaks that handle ways |
| 51 |
that specific OAuth providers differ from the standard specifications. |
| 52 |
|
| 53 |
.. _requests-oauthlib: https://requests-oauthlib.readthedocs.io/en/latest/ |
| 54 |
|
| 55 |
|
| 56 |
Betamax |
| 57 |
------- |
| 58 |
|
| 59 |
`Betamax`_ records your HTTP interactions so the NSA does not have to. |
| 60 |
A VCR imitation designed only for Python-Requests. |
| 61 |
|
| 62 |
.. _betamax: https://github.com/betamaxpy/betamax |