Comparison
combo-lock vs fasteners vs portalocker vs zc.lockfile
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 3 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install combo-lockA python package that provides useful locks
Low maintenance activity. Last release 16 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install fastenersCross-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 portalockerBasic inter-process locks
Maintained. Last release 4 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install zc-lockfileIn short
- portalocker is the most used: 47.8M downloads a month, 3.3× more than fasteners.
- portalocker also has the best Pythie’s Index (85).
- combo-lock is growing fastest: downloads +58% over the last month.
- Safe default for a new project: portalocker.
Side by side
| Metric | combo-lock | fasteners | portalocker | zc.lockfile |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 53 | 24 |