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
Published by wolph over 4 years ago
v1.7.1 removed tests from wheel file
Published by wolph over 4 years ago
v1.7.0 Fix ResourceWarning unclosed file if LockException is raised. Thanks to @ahauan4
Published by wolph over 4 years ago
v1.6.0 Fixed unlocking bug on Windows. Fixes #49
Published by wolph almost 5 years ago
v1.5.2 Aded workaround for broken pywin32 226 release. Fixes #48
Published by wolph about 5 years ago
v1.5.1 Exclude portalocker_tests from installed packages
Published by wolph over 5 years ago
v1.5.0 Renamed tests to prevent collisions with other packages
Published by wolph over 5 years ago
v1.4.0 Fixed #42. Added support for file open **kwargs
Published by wolph almost 6 years ago
v1.3.0 Added fh
attribute to LockExceptions which contain the file handle
Published by wolph over 6 years ago
v1.2.1 Modernized requirements
Published by wolph over 6 years ago
v1.2.0 Finally got windows working with both python 2 and python 3?
Published by wolph over 7 years ago
v1.1.0 Fixed crash with python 3.6 (#32) and using real time to calculate timeout (#33) thanks to @TWAC
Published by wolph about 8 years ago
v1.0.0 1.0.0 changes the default behaviour of the Lock class from truncate to append which makes it safer for new users. Additionally it features much improved documentation, restructured code, 100% test coverage and a single combined file for easy integration with other projects.