Locket
JSON →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.
Traffic · last 30 days ↑33% vs prev 7d
total hits 25
actors 5 distinct systems
last hit 1d ago GPTBot
top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇬🇧 United Kingdom
API endpoints
full doc /v1/registry/locket
install /v1/registry/locket/install
compatibility /v1/registry/locket/compatibility