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 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 a9d644b3ffd9e9a8bb9a01393674972573cd256b and was tested with mypy 1.9.0, pyright 1.1.357, and pytype 2024.3.19.

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-2.31.0.20240406.tar.gz (17.1 kB view hashes)

Uploaded Source

Built Distribution

types_requests-2.31.0.20240406-py3-none-any.whl (15.3 kB view hashes)

Uploaded Python 3

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