Comparison
combo-lock vs filelock vs locket vs 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 2 days ago, commits in 2 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install combo-lockA platform independent file lock.
Actively maintained. Last release 5 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install filelockFile-based locks for Python on Linux and Windows
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install locketPlatform-independent file locking module
Likely abandoned. No release or commit for years (last release over 11 years ago).
$
pip install lockfileIn short
- locket looks abandoned: avoid it for new projects.
- lockfile looks abandoned: avoid it for new projects.
- filelock is the most used: 638.8M downloads a month, 20× more than locket.
- filelock also has the best Pythie’s Index (80).
- combo-lock is growing fastest: downloads +58% over the last month.
- Safe default for a new project: filelock.
Side by side
| Metric | combo-lock | filelock | locket | lockfile |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 53 | Pythie’s Index: 80 | Pythie’s Index: 14 | Pythie’s Index: 19 |
| Verdict | Maintained | Actively maintained | Likely abandoned | Likely abandoned |
| Downloads / month | 80K | 638.8M | 32.3M | 13.1M |
| Downloads, month over month | +58% | +12% | +14% | -9% |
| GitHub stars | 4 | 991 | 27 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 10 | 0 | 47 | 164 |
| Last release | Nov 30, 2026 | Nov 27, 2026 | Apr 20, 2022 | Nov 25, 2015 |
| Releases, 12 months | 2 | 71 | 0 | 0 |
| Weeks with commits | 2 / 26 | 26 / 26 | 0 / 26 | – |
| Recent contributors | 5 | 5 | 4 | – |
| First release | Jun 2021 | Jul 2014 | Feb 2013 | Aug 2013 |
| Python versions | 3.5 – 3.8 | 3.11 – 3.15 | 3.5 – 3.10 | 3.3 |
| License | Apache-2.0 | MIT | BSD-2-Clause | MIT |
| 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.