An easy library for Python file locking. It works on Windows, Linux, BSD and Unix systems and can even perform distributed locking. Naturally it also supports the with statement.
BSD-3-CLAUSE License
File-based locks for Python on Linux and Windows
Lock context manager implemented via redis SET NX EX and BLPOP.
Visual Python and C++ nanosecond profiler, logger, tests enabler