$npx skillfedfor your agent

redlock-py

Redis locking mechanism

SkipPyPI Distributed ComputingReleased Mar 2016246.9K downloads / moUNKNOWNSource build

Decision gist · record as of 2026-08-14

sdist only — redlock-py-1.0.8.tar.gz · builds from source
v1.0.8 · released 2016-03-08

No. The package is abandoned with last release 2016-03-08 and Python support declared only up to 3.4, creating serious compatibility and maintenance risk. While the MIT license is permissive and there are no known vulnerabilities, the lack of updates and uncertain behavior on modern Python versions makes it unsuitable for new projects. Consider a maintained alternative for production use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Redis instance accessible at the configured host and port; the algorithm is a proposal and was not formally analyzed, so review the implementation before production use.
  • High install friction despite no runtime dependencies.
  • The package is abandoned—last release was 2016-03-08, over 3811 days ago.

License · maintenance · safety

UNKNOWN (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute the code freely with minimal restrictions.

last release 2016-03-08 (3811 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 246,932 downloads/mo, #8,704 on PyPI

Verify before relying

from redlock import Redlock

dlm = Redlock([{"host": "localhost", "port": 6379, "db": 0}])
my_lock = dlm.lock("my_resource_name", 1000)
if my_lock:
    dlm.unlock(my_lock)
  • Whether the package works reliably with Python versions beyond 3.4 despite classifier claims.
  • Current state of the upstream repository and whether it has been superseded by a maintained fork.
  • Whether the Redlock algorithm implementation matches current best practices or has known limitations.
Same gist for agents: .md · .json

What it is and what it does

redlock-py is a Python implementation of the Redlock distributed lock algorithm, which coordinates access to shared resources across multiple Redis instances. You create a lock manager by pointing it at one or more Redis servers, then call lock() with a resource name and validity duration in milliseconds to acquire a lock, and unlock() to release it. The lock manager returns either False if acquisition failed or a named tuple with the lock's validity period, resource name, and a random key for safe reclamation.

The package has no runtime dependencies and is straightforward to integrate into applications that need cross-process or cross-machine synchronization. However, it is abandoned—the last release was 2016-03-08 and the declared Python support only extends to 3.4. The author includes a disclaimer that the algorithm is a proposal and was not formally analyzed, so you should understand the algorithm's guarantees and limitations before relying on it in production.

Use it for

  • Coordinate job execution across multiple worker processes or machines to ensure only one instance runs a critical task at a time.
  • Prevent race conditions when multiple application instances need to update a shared resource in a database or external system.
  • Implement a distributed mutex for protecting access to a limited resource such as a file, API quota, or database connection pool.
  • Build a distributed task scheduler that ensures a scheduled job runs on only one node in a cluster.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned with last release 2016-03-08 and Python support declared only up to 3.4, creating serious compatibility and maintenance risk. While the MIT license is permissive and there are no known vulnerabilities, the lack of updates and uncertain behavior on modern Python versions makes it unsuitable for new projects. Consider a maintained alternative for production use.

Install

redlock-py on PyPI

Before you install

High install friction despite no runtime dependencies. The package is abandoned—last release was 2016-03-08, over 3811 days ago. Python version support declared only up to 3.4, making compatibility with modern Python versions uncertain.

Requires a running Redis instance accessible at the configured host and port; the algorithm is a proposal and was not formally analyzed, so review the implementation before production use.

License in practice

Licensed under MIT (permissive), so you can use, modify, and distribute the code freely with minimal restrictions.

Quickstart

from redlock import Redlock

dlm = Redlock([{"host": "localhost", "port": 6379, "db": 0}])
my_lock = dlm.lock("my_resource_name", 1000)
if my_lock:
    dlm.unlock(my_lock)

Verify before relying

  • Whether the package works reliably with Python versions beyond 3.4 despite classifier claims.
  • Current state of the upstream repository and whether it has been superseded by a maintained fork.
  • Whether the Redlock algorithm implementation matches current best practices or has known limitations.

Package facts

LicenseUNKNOWN permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 3,811 days since the last release
First released
Downloads246,932 / month, #8,704 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.2Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4

Evidence: redlock-py-1.0.8.tar.gz

Tags

Capabilities
redis distributed locksredlock algorithm pythonredis locking mechanismdistributed lock managerredis resource lockingconcurrent access control redismulti-instance redis locks
Topics
distributed-lockingredisabandoned

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 locking mechanism”

  • redlock-pyImplements Redis-based distributed locks using the Redlock algorithm,…
  • python-redis-lockProvides a Redis-backed distributed lock with a threading.Lock-like…
  • redlockImplements the RedLock algorithm to provide distributed locks across…

Give your agent the search over MCP, or paste the wish link into any chat.

More Distributed Computing packages

grpcio Worth it
PyPI · Distributed Computing · released Jul 2026

gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.

Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.

Apache-2.0compiled wheel · 3.10+
446.4Mdownloads / mo
execnet With conditions
PyPI · Libraries · released Nov 2025

execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.

However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…

MITpure Python · 3.8+aging
172.1Mdownloads / mo
cloudpickle Worth it
PyPI · Scientific/Engineering · released Nov 2025

Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.

Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.

BSD-3-Clausepure Python · 3.8+
148.4Mdownloads / mo
smart-open Worth it
PyPI · Distributed Computing · released Jul 2026

Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.

Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.

MITpure Python
72.8Mdownloads / mo
portalocker Worth it
PyPI · Libraries · released Aug 2026

Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.

Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.

BSD-3-Clausepure Python · 3.10+
65.1Mdownloads / mo
ray Worth it
PyPI · Distributed Computing · released Aug 2026

Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.

permissive licensecompiled wheel · 3.10+
63.3Mdownloads / mo

See also aioredlock · fastrlock · redlock · python-dynamodb-lock · python-redis-lock · PyMySQLLock · shadowcopy · pyodide-lock · pottery