Comparison
python-redis-lock vs redlock vs redlock-py
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Lock context manager implemented via redis SETNX/BLPOP.
Low maintenance activity. Last release 8 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install python-redis-lockDistributed locks with Redis
Likely abandoned. No release or commit for years (last release over 10 years ago).
$
pip install redlockRedis locking mechanism
Likely abandoned. No release or commit for years (last release over 10 years ago).
$
pip install redlock-pyIn short
- redlock looks abandoned: avoid it for new projects.
- redlock-py looks abandoned: avoid it for new projects.
- python-redis-lock is the most used: 1M downloads a month, 7.3× more than redlock-py.
- python-redis-lock also has the best Pythie’s Index (33).
Side by side
| Metric | python-redis-lock | redlock | redlock-py |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 33 | 17 |