|
Distribution |
Debian unstable |
Abteilung |
python |
Quelle |
python-lockfile |
Version |
0.9-2 |
Maintainer |
Ben Finney <ben+debian@benfinney.id.au>
|
Beschreibung |
The ‘lockfile’ module 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; examples provided include ‘SQLiteLockFile’, ‘PIDLockFile’. . 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.
|
Abhängig von | python (>= 2.5), python-support (>= 0.90.0) |
Offizielle Seiten |
Paket
Entwicklerinformationen
Bugs (Binärpaket)
Bugs (Quellpaket) |
Download |
all |
|
|
|