{"library":"locket","type":"library","category":null,"description":"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.","language":"python","status":"maintenance","version":"1.0.0","tags":["lock","filelock","lockfile","process","concurrency","inter-process communication","linux","windows"],"install":[{"cmd":"pip install locket","imports":["import locket","from locket import LockError"]}],"homepage":null,"github":"http://github.com/mwilliamson/locket.py","docs":null,"changelog":null,"pypi":"https://pypi.org/project/locket/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/locket/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":"verified"}}