Comparison
combo-lock vs fasteners vs locket 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-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 fastenersFile-based locks for Python on Linux and Windows
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install locketCross-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
- locket looks abandoned: avoid it for new projects.
- portalocker is the most used: 47.8M downloads a month.
- 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 | locket | portalocker |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 53 | Pythie’s Index: 24 | Pythie’s Index: 14 | Pythie’s Index: 85 |
| Verdict | Maintained | Low maintenance activity | Likely abandoned | Actively maintained |
| Downloads / month | 80K | 14.7M | 32.3M | 47.8M |
| Downloads, month over month | +58% | +14% | +14% | +5% |
| GitHub stars | 4 | 281 | 27 | 331 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 10 | 187 | 47 | 290 |
| Last release | Nov 30, 2026 | Aug 11, 2025 | Apr 20, 2022 | Oct 28, 2026 |
| Releases, 12 months | 2 | 0 | 0 | 9 |
| Weeks with commits | 2 / 26 | 1 / 26 | 0 / 26 | 14 / 26 |
| Recent contributors | 5 | 16 | 4 | 4 |
| First release | Jun 2021 | May 2015 | Feb 2013 | Feb 2011 |
| Python versions | 3.5 – 3.8 | 3.10 – 3.13 | 3.5 – 3.10 | 3.10 – 3.14 |
| License | Apache-2.0 | Apache-2.0 | BSD-2-Clause | BSD-3-Clause |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.