GitHub repository: wolph/portalocker
Primary language: Python
Description: 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.