FileSize | 8714 |
MD5 | D09BE60BE35F10AE9E03BFB87AC73C00 |
PackageDescription | 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. |
PackageMaintainer | Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
PackageName | python-lockfile |
PackageSection | python |
PackageVersion | 1:0.8-2ubuntu1 |
SHA-1 | D242D5A53AB96691F22801FFF254D6E186912C3C |
SHA-256 | 54B829561D57AABC20ECEB8C5F3171B6D992BF9B1215D0BC71C5D0E604B9F920 |