Project: types-redis

Typing stubs for redis

Project Details

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

Project Popularity

PageRank
0.005277300604112065
Number of downloads
2120780

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 81633e27097228a8a7eb0f963c62916ecea78abc and was tested with mypy 1.7.1, pyright 1.1.334, and pytype 2023.11.21.