Comparison
python-redis-lock vs redlock
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 redlockIn short
- redlock looks abandoned: avoid it for new projects.
- python-redis-lock is the most used: 1M downloads a month, 20× more than redlock.
- python-redis-lock also has the best Pythie’s Index (33).
Side by side
| Metric | python-redis-lock | redlock |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 33 | 17 |