Preparing for system design interviews?  Try bugzed.com →

Locket

JSON →
library 1.0.0 ·python maintenance
verified Jun 28, 2026 install

Locket is a Python library (version 1.0.0, last released April 2022) that provides file-based locks for inter-process communication on both Linux and Windows. It offers a simple API for creating non-reentrant locks that behave similarly to `threading.Lock` instances, uniquely identified by the file path being locked. The library ensures that only one process can acquire a lock at a time for a given path, preventing conflicts when multiple processes access shared resources.

total hits 14
actors 4 distinct systems
last hit 4d ago AhrefsBot
GPTBot
4
ClaudeBot
3
ByteDance
1
Humans
3

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇬🇧 United Kingdom