Comparison
combo-lock vs flufl.lock vs portalocker
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A combined process and thread lock
Maintained. Last release 2 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install combo-lockNFS-safe file locking with timeouts for POSIX and Windows
Actively maintained. Last release 7 weeks ago. A safe choice.
$
pip install flufl-lockCross-platform file locking, with Redis, PID-file and bounded-semaphore locks
Actively maintained. Last release 5 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
$
pip install portalockerIn short
- portalocker is the most used: 47.8M downloads a month, 20× more than flufl.lock.
- Maintenance is comparable: portalocker 85, flufl.lock 77, combo-lock 53 on Pythie’s Index.
- combo-lock is growing fastest: downloads +58% over the last month.
- Safe default for a new project: portalocker.
Side by side
| Metric | combo-lock | flufl.lock | portalocker |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 53 | 77 |