locket python library

locket

Subscription: Developer
Last updated a month ago
Active
Subscription: Developer

File-based locks for Python on Linux and Windows that allow multiple processes to use the same lock file path. Use locket.lock_file with optional timeout to wait or raise an error if the lock cannot be acquired immediately.

pip install locket==1.0.0
  • 1.0.0
    Linux
    Last updated a month ago