# types-redis

> Typing stubs for redis

- **URL**: https://www.freshcrate.ai/projects/types-redis
- **Author**: pypi
- **Category**: Developer Tools
- **Latest version**: `main@2026-06-03` (2026-06-03)
- **License**: Apache-2.0
- **Source**: https://github.com/typeshed-internal/stub_uploader/blob/main/data/changelogs/redis.md
- **Homepage**: https://github.com/python/typeshed
- **Language**: Python
- **GitHub**: 37 stars, 23 forks
- **Registry**: pypi (`types-redis`)
- **Tags**: `pypi`

## Description

## Typing stubs for redis

This is a [PEP 561](https://peps.python.org/pep-0561/)
type stub package for the [`redis`](https://github.com/redis/redis-py) package.
It can be used by type-checking tools like
[mypy](https://github.com/python/mypy/),
[pyright](https://github.com/microsoft/pyright),
[pytype](https://github.com/google/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:* The `redis` package includes type annotations or type stubs
since version 5.0.0. Please uninstall the `types-redis`
package if you use this or a newer version.


This stub package is marked as [partial](https://peps.python.org/pep-0561/#partial-stub-packages).
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
[`d16fe74e1f7a56ae05dfaa2fad595d5184c574d6`](https://github.com/python/typeshed/commit/d16fe74e1f7a56ae05dfaa2fad595d5184c574d6) and was tested
with mypy 1.11.2, pyright 1.1.383, and
pytype 2024.9.13.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `main@2026-06-03` | 2026-06-03 | High | Latest activity on main branch |
| `4.6.0.20241004` | 2026-04-21 | Low | Imported from PyPI (4.6.0.20241004) |

## Citation

- HTML: https://www.freshcrate.ai/projects/types-redis
- Markdown: https://www.freshcrate.ai/projects/types-redis.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/types-redis/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
