all options
squeeze  ] [  wheezy  ] [  jessie  ] [  stretch  ] [  sid  ]
[ Source: python-lockfile  ]

Package: python-lockfile (1:0.8-2)

Links for python-lockfile


Debian Resources:

Download Source Package python-lockfile:


External Resources:

Similar packages:

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.

Other Packages Related to python-lockfile

  • depends
  • recommends
  • suggests
  • enhances

Download python-lockfile

Download for all available architectures
Architecture Package Size Installed Size Files
all 8.7 kB84.0 kB [list of files]