A platform-independent file locking module
The lockfile module exports a FileLock class which provides a simple API for locking files. Unlike the Windows msvcrt.locking function, the Unix fcntl.flock, fcntl.lockf and the deprecated posixfile module, the API is identical across both Unix (including Linux and Mac) and Windows platforms. The lock mechanism relies on the atomic nature of the link (on Unix) and mkdir (on Windows) system calls. This is a Python 3 build of lockfile package.
Release | Stable | Testing |
---|---|---|
Fedora 40 | 0.12.2-13.fc40 | - |
Fedora 39 | 0.12.2-11.fc39 | - |
Fedora EPEL 9 | 0.12.2-8.el9 | - |
Fedora EPEL 8 | 0.11.0-13.el8.1 | - |
You can contact the maintainers of this package via email at
python-lockfile dash maintainers at fedoraproject dot org
.