FileSize | 13130 |
MD5 | 23077F421F9E1491C177A0F71240FAEF |
PackageDescription | file locking library for Python — Python 2 library
The ‘lockfile’ library exports a ‘LockFile’ class which provides a
simple API for locking files.
.
The appropriate implementation for ‘LockFile’ is chosen automatically
based on the OS capabilities for an atomic filesystem operation.
These implementations are also available for explicit use as
‘LinkLockFile’ and ‘MkdirLockFile’.
.
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.
.
This package installs the Python 2 library. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | python-lockfile |
PackageSection | python |
PackageVersion | 1:0.10.2-2ubuntu1 |
SHA-1 | 8CC99345C8508995ED68042FD94D3E8E6B213F09 |
SHA-256 | DFF2AD9ECF38F6A5538B97DE6E2DE1313D5009867A25C10CCEBA5FAB941EA4DD |