Paket: python-lockfile (1:0.12.2-2)
Länkar för python-lockfile
Debianresurser:
Hämta källkodspaketet python-lockfile:
- [python-lockfile_0.12.2-2.dsc]
- [python-lockfile_0.12.2.orig.tar.gz]
- [python-lockfile_0.12.2-2.debian.tar.xz]
Ansvarig:
Externa resurser:
- Hemsida [pypi.python.org]
Liknande paket:
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. Examples included are:
* ‘SQLiteLockFile’, using records in an SQLite database. * ‘PIDLockFile’, using the semantics of a Unix PID file.
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.
Andra paket besläktade med python-lockfile
|
|
|
|
-
- dep: python
- interactive high-level object-oriented language (Python2 version)
-
- sug: python-lockfile-doc
- file locking library for Python — documentation
Hämta python-lockfile
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 16,6 kbyte | 67,0 kbyte | [filförteckning] |