Skip to main content

Typing stubs for redis

Project description

Typing stubs for redis

This is a PEP 561 type stub package for the redis package. It can be used by type-checking tools like mypy, pyright, pytype, PyCharm, etc. to check code that uses redis.

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

Note: Redis-py 5.0.0 added a py.typed file, but the inline annotations are incomplete. Continuing to use types-redis for the time being may lead to superior results.

This stub package is marked as partial. If you find that annotations are missing, feel free to contribute and help complete them.

See https://github.com/python/typeshed/blob/main/README.md for more details. This package was generated from typeshed commit 3802899a01269df575ea32a21534c5400fb9218a and was tested with mypy 1.9.0, pyright 1.1.350, and pytype 2024.2.27.

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-redis-4.6.0.20240311.tar.gz (48.6 kB view hashes)

Uploaded Source

Built Distribution

types_redis-4.6.0.20240311-py3-none-any.whl (57.8 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