Skip to main content

Typing stubs for requests

Project description

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 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<

See for more details. This package was generated from typeshed commit 1ecaab16415b58750f4908023e49286772996938 and was tested with mypy 1.5.1, pyright 1.1.330, and pytype 2023.10.17.

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

types-requests- (16.2 kB view hashes)

Uploaded source

Built Distribution

types_requests- (14.9 kB view hashes)

Uploaded py3

Supported by

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