Binary package “python-lockfile” in ubuntu trusty
file locking library for Python
The ‘lockfile’ module exports a ‘FileLock’ class which provides a
simple API for locking files.
.
The appropriate implementation for ‘FileLock’ is chosen automatically
based on the OS capabilities for an atomic filesystem operation.
These implementations are also available for explicit use as
‘LinkFileLock’ and ‘MkdirFileLock’.
.
Other back ends are possible with the same semantics; an example
provided is ‘SQLiteFileLock’.
.
Unlike other Python locking libraries (the Windows ‘msvcrt.locking’
function, the Unix ‘fcntl.flock’, ‘fcntl.lockf’, and the deprecated
‘posixfile’ module), the API is identical across both Unix (including
GNU/Linux and MacOS) and Windows platforms.
Source package
Published versions
- python-lockfile 1:0.8-2ubuntu1 in amd64 (Release)
- python-lockfile 1:0.8-2ubuntu2 in amd64 (Proposed)
- python-lockfile 1:0.8-2ubuntu2 in amd64 (Release)
- python-lockfile 1:0.8-2ubuntu1 in arm64 (Release)
- python-lockfile 1:0.8-2ubuntu2 in arm64 (Proposed)
- python-lockfile 1:0.8-2ubuntu2 in arm64 (Release)
- python-lockfile 1:0.8-2ubuntu1 in armhf (Release)
- python-lockfile 1:0.8-2ubuntu2 in armhf (Proposed)
- python-lockfile 1:0.8-2ubuntu2 in armhf (Release)
- python-lockfile 1:0.8-2ubuntu1 in i386 (Release)
- python-lockfile 1:0.8-2ubuntu2 in i386 (Proposed)
- python-lockfile 1:0.8-2ubuntu2 in i386 (Release)
- python-lockfile 1:0.8-2ubuntu1 in powerpc (Release)
- python-lockfile 1:0.8-2ubuntu2 in powerpc (Proposed)
- python-lockfile 1:0.8-2ubuntu2 in powerpc (Release)
- python-lockfile 1:0.8-2ubuntu1 in ppc64el (Release)
- python-lockfile 1:0.8-2ubuntu2 in ppc64el (Proposed)
- python-lockfile 1:0.8-2ubuntu2 in ppc64el (Release)