types-requests (2.32.0.20250328)
Installation
pip install --index-url types-requestsAbout this package
Typing stubs for requests
Typing stubs for requests
This is a PEP 561
type stub package for the requests package.
It can be used by type-checking tools like
mypy,
pyright,
pytype,
Pyre,
PyCharm, etc. to check code that uses requests. This version of
types-requests aims to provide accurate annotations for
requests==2.32.*.
Note: types-requests has required urllib3>=2 since v2.31.0.7. If you need to install types-requests into an environment that must also have urllib3<2 installed into it, you will have to use types-requests<2.31.0.7.
This package is part of the typeshed project.
All fixes for types and metadata should be contributed there.
See the README
for more details. The source for this package can be found in the
stubs/requests
directory.
This package was tested with
mypy 1.15.0,
pyright 1.1.398,
and pytype 2024.10.11.
It was generated from typeshed commit
2a7a601a5ca2237037965f52eca5925dba530c62.