redis-py-cluster
Library for communicating with Redis Clusters. Built on top of redis-py lib
What it is and what it does
redis-py-cluster is a client library that abstracts Redis Cluster protocol handling, allowing Python applications to interact with Redis Cluster deployments as if they were a single logical Redis instance. It wraps redis and adds cluster-aware routing, slot management, and node discovery, so you can call standard Redis commands (set, get, etc.) and the client automatically routes them to the correct cluster node.
The package supports Python 2.7 through 3.8, though version 2.1.3 is the last release and the repository is now archived. It depends only on redis and provides a RedisCluster class that accepts a list of startup nodes for cluster discovery. Its abandonment means it will not receive bug fixes or compatibility updates for newer Redis Cluster features or Python versions.
Use it for:
- Connect a Python application to an existing Redis Cluster deployment for key-value operations across multiple nodes
- Perform pipelined commands against a Redis Cluster while automatically handling slot-to-node routing
- Read from replica nodes in a Redis Cluster to offload read traffic from primary nodes
- Implement cluster-aware pub/sub messaging in Python applications
- Migrate a single-node Redis client to a clustered setup without rewriting application logic
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python client for Redis Cluster, enabling communication with Redis 3.0+ cluster deployments through a high-level API built on top of redis.
No, unless you are maintaining legacy code already using this package. The repository is archived and abandoned since 2023-08-24 with no updates since 2021-05-30. While it has no known vulnerabilities and low install friction, the lack of active maintenance means it will not receive updates for new Redis Cluster features, Python versions, or security issues. For new projects, use an actively maintained Redis Cluster client.
Install
redis-py-cluster on PyPI
pip
pip install redis-py-clusteruv
uv add redis-py-clusterpoetry
poetry add redis-py-clusterInstalling redis-py-cluster
Before you install
Low install friction with a single runtime dependency (redis). However, the package is archived and abandoned as of August 2023, with no maintenance since the latest release on 2021-05-30. Use only if locked into an existing deployment; new projects should consider actively maintained alternatives.
License in practice
MIT license is permissive and imposes no significant restrictions on use, modification, or distribution. Suitable for both open-source and proprietary projects.
Quickstart
pip install redis-py-cluster
from rediscluster import RedisCluster
startup_nodes = [{"host": "127.0.0.1", "port": "7000"}]
rc = RedisCluster(startup_nodes=startup_nodes, decode_responses=True)
rc.set("foo", "bar")
print(rc.get("foo"))
Requires a running Redis Cluster (version 3.0+) with at least one accessible node for cluster discovery.
Verify before relying
- Whether redis compatibility remains reliable given the package's archived status and lack of recent updates
- Current stability with Redis Cluster versions released after 2021-05-30
- Whether connection pooling and failover scenarios remain robust without ongoing maintenance
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — redis |
| Maintenance | abandoned — 1,902 days since the last release |
| Last repo commit | (repository archived) |
| First released | |
| Downloads | 3,654,075/month — #2,541 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: redis_py_cluster-2.1.3-py2.py3-none-any.whl
Keywords: redis, redis cluster
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
flask-redisIntegrates Redis into Flask applications as a…
unclear · top 15,000 on PyPI
coredisAn async Redis client with full type hints,…
permissive · top 5,000 on PyPI
valkeyPython client library for connecting to and…
permissive · top 5,000 on PyPI
redis-cliProvides a lightweight wrapper around redis-py…
permissive · top 15,000 on PyPI
aioredisAn asyncio-based Redis client library providing…
permissive · top 5,000 on PyPI
redlockImplements the RedLock algorithm to provide…
permissive · top 15,000 on PyPI
azure-mgmt-redisenterpriseManages Azure Redis Enterprise clusters and…
unclear · top 5,000 on PyPI
yarn-api-clientPython client library for querying and managing…
permissive · top 15,000 on PyPI
redis-entraidProvides Entra ID (Azure Active Directory)…
unclear · top 5,000 on PyPI