skillfed

types-redis

Typing stubs for redis

types-redis Permissive license Apache-2.0 Active 5,108 v4.6.0.20241004 released

Install

types-redis on PyPI

pip

pip install types-redis

uv

uv add types-redis

poetry

poetry add types-redis

Package facts

License Apache-2.0 (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 2 — types-pyOpenSSL, cryptography
Maintenance actively maintained — 678 days since the last release
Last repo commit
First released
Popularity one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: types_redis-4.6.0.20241004-py3-none-any.whl

License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only

About types-redis

from the package's own PyPI description — quoted content, verbatim

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

Read as markdown · JSON record · Source repository · Homepage

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

Provides PEP 561 type stubs for redis 4.6.0, enabling static type checkers like mypy and pyright to validate code that uses redis.

Low friction; marked active with recent releases and a stable upstream (typeshed). Note that redis 5.0.0+ includes native type annotations, making this package redundant for newer versions.

Apache-2.0 is permissive and poses no restrictions on commercial or private use; you may freely depend on this package in any project.

Usage

pip install types-redis

# Type checkers will use the stubs when analyzing code that imports redis
import types_redis

Requires Python >=3.8; intended for redis==4.6.0 (uninstall if using redis 5.0.0 or later, which includes native stubs).

Verdict: A well-maintained, low-friction type stub package for redis 4.6.0. No known vulnerabilities and permissive licensing. However, it is superseded by redis 5.0.0+, so only install if locked to an older redis version.

Needs verification

  • Whether the partial stub coverage is sufficient for your codebase's redis usage patterns.
  • Compatibility with redis versions other than 4.6.0, despite the version-specific targeting.
redis type stubsmypy redis annotationsstatic type checking redisredis type hintspyright redis typesredis typing supportpep 561 stubs

Similar packages