redis
Python client for Redis database and key-value store
Install
redis on PyPI
pip
pip install redisuv
uv add redispoetry
poetry add redisPackage facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — async-timeout |
| Maintenance | actively maintained — 14 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: redis-8.1.0-py3-none-any.whl
Keywords: Redis, database, key-value-store
About redis
from the package's own PyPI description — quoted content, verbatim
redis-py
The Python interface to the Redis key-value store.
CI (image) docs (image) MIT licensed (image) pypi (image) pre-release (image) codecov (image)
Installation | Usage | Advanced Topics | Contributing
Note: redis-py 5.0 is the last version of redis-py that supports Python 3.7, as it has reached [end of...
Read as markdown · JSON record · Source repository · Homepage · Docs
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
redis-py is the official Python client for Redis, providing synchronous and asynchronous interfaces to connect to and interact with Redis key-value stores using both RESP2 and RESP3 protocols.
Installation is straightforward with low friction; the package is actively maintained with a release 14 days ago and has 13613 GitHub stars. The single runtime dependency is async-timeout, and an optional hiredis extra is available for performance.
Licensed under MIT (permissive), allowing free use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.
Usage
pip install redis
import redis
r = redis.Redis(host='localhost', port=6379, db=0)
r.set('foo', 'bar')
print(r.get('foo'))
Requires Python 3.10 or later; a running Redis server (local or remote) is needed to connect to.
Verdict: redis-py is a mature, actively maintained, top-1000 PyPI package with zero known vulnerabilities, permissive MIT licensing, and low install friction. It is production-ready for both synchronous and asynchronous Redis operations across Python 3.10–3.14.
Needs verification
- Whether the optional hiredis extra (for compiled response parsing) introduces any additional security or maintenance considerations.
- Performance characteristics and latency impact of async-timeout dependency in high-throughput scenarios.
Similar packages
permissive · top 1,000 on PyPI
hiredispermissive · top 1,000 on PyPI
py-key-value-aiopermissive · top 1,000 on PyPI
uncalled-forpermissive · top 1,000 on PyPI
qrcodepermissive · top 1,000 on PyPI
types-redispermissive · top 1,000 on PyPI
azure-batchunclear · top 1,000 on PyPI
Flask-Limiterpermissive · top 1,000 on PyPI
google-cloud-pubsubpermissive · top 1,000 on PyPI
httpcorepermissive · top 100 on PyPI