Redis-Sentinel-Url
A factory for redis connection that supports using Redis Sentinel
What it is and what it does
Redis-Sentinel-Url is a URL parser and connection factory that extends the redis library to support both regular redis:// URLs and a custom redis+sentinel:// scheme for connecting through Redis Sentinel. It wraps redis and accepts connection strings that specify Sentinel hosts, service names, and client options, returning both a Sentinel instance and a connected Redis client.
The package is designed for applications that need high-availability Redis deployments using Sentinel for automatic failover. It simplifies connection setup by allowing configuration via a single URL string rather than separate host, port, and Sentinel parameters. However, it is no longer maintained—the last release was 2017-04-05 and the repository shows no recent activity—so compatibility with current versions of Redis or Python is uncertain.
Use it for:
- Connect to a Redis Sentinel cluster by parsing a redis+sentinel:// URL instead of manually configuring Sentinel hosts and service names.
- Migrate from standard redis:// connections to Sentinel-backed deployments by changing only the connection string.
- Build a connection factory that accepts URLs from environment variables or config files and returns ready-to-use Redis clients.
- Support both direct Redis and Sentinel-based connections in the same application using a unified URL interface.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Parses redis:// and redis+sentinel:// URLs and returns a connected Redis client, with optional Sentinel support for high-availability deployments.
No. The package is abandoned (last release 2017-04-05, no updates since) and targets Python 2.7 and 3.3–3.6. Compatibility with modern Python versions is unverified. For new projects, use the redis library's native URL parsing or a maintained alternative. For legacy systems already using this package, evaluate whether upgrading to a supported solution is feasible.
Install
redis-sentinel-url on PyPI
pip
pip install redis-sentinel-urluv
uv add redis-sentinel-urlpoetry
poetry add redis-sentinel-urlInstalling Redis-Sentinel-Url
Before you install
Installation is straightforward with no complex dependencies beyond redis itself. However, the package is abandoned—last release was 2017-04-05 and last commit 2023-02-27—so it will not receive updates for newer Redis or Python versions.
License in practice
Licensed under Apache 2.0 (permissive), so you can use, modify, and distribute it freely in commercial and open-source projects with minimal restrictions.
Quickstart
pip install Redis-Sentinel-Url
import redis_sentinel_url
sentinel, client = redis_sentinel_url.connect('redis+sentinel://localhost:26379/mymaster/0')
# Returns Sentinel instance and StrictRedis client
Package targets Python 2.7 and 3.3–3.6; compatibility with modern Python versions is unverified.
Verify before relying
- Whether the package works with current versions of the redis library and modern Python versions
- Whether Sentinel failover behavior is tested and reliable in production deployments
- Whether the redis+sentinel:// URL scheme is documented in the redis library itself or remains proprietary to this package
Package facts
| License | Apache 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — redis |
| Maintenance | abandoned — 3,418 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 441,914/month — #6,640 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Redis_Sentinel_Url-1.0.1-py2.py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 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
coredisAn async Redis client with full type hints,…
permissive · top 5,000 on PyPI
django-cache-urlConfigures Django cache backends from…
permissive · top 15,000 on PyPI
sentinelsProvides singleton sentinel objects with…
permissive · top 5,000 on PyPI
func_argsProvides sentinel values (REQ and OPT) and…
permissive · top 5,000 on PyPI
sentinelCreates singleton sentinel objects that…
permissive · top 15,000 on PyPI
flask-redisIntegrates Redis into Flask applications as a…
unclear · top 15,000 on PyPI
niltypeProvides a `Nil` singleton object to represent…
permissive · top 15,000 on PyPI
sentinelhubsentinelhub provides a Python interface to…
permissive · top 15,000 on PyPI