Paketname | python-lockfile |
Beschreibung | file locking library for Python |
Archiv/Repository | Offizielles Debian Archiv squeeze (main) |
Version | 1:0.8-2 |
Sektion | python |
Priorität | optional |
Installierte Größe | 84 Byte |
Hängt ab von | python (>= 2.4), python-support (>= 0.90.0) |
Empfohlene Pakete | |
Paketbetreuer | Ben Finney |
Quelle | |
Paketgröße | 8908 Byte |
Prüfsumme MD5 | a697d8a022111e3577177cf9c29fe852 |
Prüfsumme SHA1 | 41f0e5a7cc5dc8d5b656e1300f1cd5579e527c5d |
Prüfsumme SHA256 | 0909ec3ef6934d36c7789c640df9e8fa8e66238ec0e2c5c8986b66d64ff55786 |
Link zum Herunterladen | python-lockfile_0.8-2_all.deb |
Ausführliche Beschreibung | 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.
|