Locket

JSON →
library 1.0.0 ·python maintenance
verified Jun 9, 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 25
actors 5 distinct systems
last hit 1d ago GPTBot
ByteDance
6
GPTBot
4
MetaBot
4
Script
2
Humans
6

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