Comparison
flufl.lock vs locket vs lockfile
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
NFS-safe file locking with timeouts for POSIX and Windows
Actively maintained. Last release 7 weeks ago. A safe choice.
$
pip install flufl-lockFile-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.
- flufl.lock is the most used: 2.4M downloads a month.
- flufl.lock also has the best Pythie’s Index (79).
- Safe default for a new project: flufl.lock.
Side by side
| Metric | flufl.lock | locket | lockfile |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 79 | Pythie’s Index: 14 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Likely abandoned | Likely abandoned |
| Downloads / month | 2.4M | 30.7M | 13.4M |
| Downloads, month over month | -13% | +8% | -8% |
| GitHub stars | – | 27 | – |
| Stars, last 7 days | – | – | – |
| Direct dependents | 19 | 47 | 164 |
| Last release | Oct 12, 2026 | Apr 20, 2022 | Nov 25, 2015 |
| Releases, 12 months | 4 | 0 | 0 |
| Weeks with commits | – | 0 / 26 | – |
| Recent contributors | – | 4 | – |
| First release | Nov 2010 | Feb 2013 | Aug 2013 |
| Python versions | – | 3.5 – 3.10 | 3.3 |
| License | Apache-2.0 | BSD-2-Clause | MIT |
| Known vulnerabilities | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.