skillfed

Redis-Sentinel-Url

A factory for redis connection that supports using Redis Sentinel

redis-sentinel-url v1.0.1 441.9K downloads/30d#6,640 on PyPI10
Permissive license Apache 2.0 Abandoned released

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-url

uv

uv add redis-sentinel-url

poetry

poetry add redis-sentinel-url

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Software Development :: Libraries :: Python Modules

Tags

redis sentinel url parserredis connection factorysentinel connection stringredis ha failoverparse redis url schemesentinel client connection
redis-sentinelabandoned

More Python Modules packages