redis-cli
A Redis Python Client
Decision gist · record as of 2026-08-14
Yes, if you are starting a new project and want to reduce Redis initialization boilerplate. No, if you need active maintenance or forward compatibility guarantees—the package is dormant since October 2023 and may not work with future redis-py releases. Consider it for small, self-contained applications where you control the redis-py version; avoid it for production systems requiring long-term support.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires redis-py to be installed (declared as a runtime dependency); requires a running Redis server or Sentinel instance to connect to.
- Low install friction with a single runtime dependency on redis.
- Maintenance is dormant—last release was 2023-10-02 and no commits since then—so expect no active support or updates for emerging redis-py versions.
License · maintenance · safety
permissive license (permissive) — MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, typical for open-source Python tools.
last release 2023-10-02 (1047 days) · last repo commit 2023-10-03 · 1 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 91,289 downloads/mo, #13,528 on PyPI
Alternatives
Verify before relying
pip install redis-cli
import redis_cli
redis_cli.init_from_url('redis://localhost:6379')
from redis_cli import get_redis
get_redis().set('foo', 'bar')
get_redis().get('foo')- Whether the package remains compatible with current redis-py versions given its dormant maintenance status since 2023-10-02.
- Whether the borg pattern initialization truly handles concurrent access safely in production workloads.
What it is and what it does
redis-cli is a thin initialization layer over redis-py that centralizes connection setup and exposes a shared Redis instance via a singleton getter. Instead of managing connection pooling and initialization logic in your application, you call init_from_url() or init_from_redis() once at startup, then retrieve the same client instance everywhere with get_redis(). It supports standard Redis URLs, Sentinel URLs with master/slave routing, Unix sockets, and environment variable overrides—useful for Kubernetes deployments where credentials come from secrets.
The package does not wrap or modify redis-py's API; the object returned by get_redis() is the unmodified Redis class from redis-py itself, so all redis-py features and methods work directly. This design aims for forward compatibility across redis-py versions. The main value is reducing boilerplate for connection initialization and providing a clean way to inject Redis configuration from environment variables in containerized environments.
Use it for
- Initialize Redis once at application startup and access it globally without passing connection objects through function arguments.
- Deploy to Kubernetes with Redis credentials injected via secrets, using REDISCLI_URL and REDISCLI_AUTH environment variables.
- Switch between standard Redis, Redis Sentinel, and Unix socket connections by changing only the initialization URL, not application code.
- Simplify testing by re-initializing redis_cli with a test Redis instance without modifying the rest of your codebase.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are starting a new project and want to reduce Redis initialization boilerplate.
No, if you need active maintenance or forward compatibility guarantees—the package is dormant since October 2023 and may not work with future redis-py releases. Consider it for small, self-contained applications where you control the redis-py version; avoid it for production systems requiring long-term support.
Install
redis-cli on PyPI
Before you install
Low install friction with a single runtime dependency on redis. Maintenance is dormant—last release was 2023-10-02 and no commits since then—so expect no active support or updates for emerging redis-py versions.
Requires redis-py to be installed (declared as a runtime dependency); requires a running Redis server or Sentinel instance to connect to.
License in practice
MIT license (permissive) means you can use, modify, and distribute this package freely with minimal restrictions, typical for open-source Python tools.
Quickstart
pip install redis-cli
import redis_cli
redis_cli.init_from_url('redis://localhost:6379')
from redis_cli import get_redis
get_redis().set('foo', 'bar')
get_redis().get('foo')
Verify before relying
- Whether the package remains compatible with current redis-py versions given its dormant maintenance status since 2023-10-02.
- Whether the borg pattern initialization truly handles concurrent access safely in production workloads.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageredis |
| Maintenance | Dormant 1,047 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 91,289 / month, #13,528 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3 |
Evidence: redis_cli-1.0.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “redis python client wrapper”
- redis-cliProvides a lightweight wrapper around redis-py that simplifies…
- py-redisA convenience wrapper around the official Redis Python client that…
- google-cloud-redis-clusterPython client library for creating and managing Redis instances on…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also flask-redis · Redis-Sentinel-Url · py-redis · walrus · hiredis · coredis · fakeredis · redis-py-cluster · valkey-glide