Comparison
filelock vs lockfile
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A platform independent file lock.
Actively maintained. Last release 3 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install filelockPlatform-independent file locking module
Likely abandoned. No release or commit for years (last release over 11 years ago).
$
pip install lockfileIn short
- lockfile looks abandoned: avoid it for new projects.
- filelock is the most used: 634M downloads a month, 47× more than lockfile.
- filelock also has the best Pythie’s Index (80).
- Safe default for a new project: filelock.
Side by side
| Metric | filelock | lockfile |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 80 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Likely abandoned |
| Downloads / month | 634M | 13.4M |
| Downloads, month over month | +10% | -8% |
| GitHub stars | 991 | – |
| Stars, last 7 days | – | – |
| Direct dependents | 0 | 164 |
| Last release | Nov 27, 2026 | Nov 25, 2015 |
| Releases, 12 months | 71 | 0 |
| Weeks with commits | 26 / 26 | – |
| Recent contributors | 5 | – |
| First release | Jul 2014 | Aug 2013 |
| Python versions | 3.11 – 3.15 | 3.3 |
| License | MIT | MIT |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.