Project: types-requests

Typing stubs for requests

Project Details

Latest version
2.31.0.20231231
Home Page
https://github.com/python/typeshed
PyPI Page
https://pypi.org/project/types-requests/

Project Popularity

PageRank
0.006441435350611067
Number of downloads
9888386

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, PyCharm, etc. to check code that uses requests.

This version of types-requests aims to provide accurate annotations for requests==2.31.*. The source for this package can be found at https://github.com/python/typeshed/tree/main/stubs/requests. All fixes for types and metadata should be contributed there.

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.

See https://github.com/python/typeshed/blob/main/README.md for more details. This package was generated from typeshed commit 3ede0565d16d9840525f305ceb7cbc1d673d8f7b and was tested with mypy 1.8.0, pyright 1.1.342, and pytype 2023.12.8.