4
Summary: Platform-independent file locking module
5
Home-page: http://smontanaro.dyndns.org/python/
7
Author-email: skip@pobox.com
9
Download-URL: http://smontanaro.dyndns.org/python/lockfile-0.9.tar.gz
10
Description: The lockfile package exports a LockFile class which provides a simple API for
11
locking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf
12
and flock functions, and the deprecated posixfile module, the API is
13
identical across both Unix (including Linux and Mac) and Windows platforms.
14
The lock mechanism relies on the atomic nature of the link (on Unix) and
15
mkdir (on Windows) system calls. An implementation based on SQLite is also
16
provided, more as a demonstration of the possibilities it provides than as
17
production-quality code.
19
Note: In version 0.9 the API changed in two significant ways:
21
* It changed from a module defining several classes to a package containing
22
several modules, each defining a single class.
24
* Where classes had been named SomethingFileLock before the last two words
25
have been reversed, so that class is now SomethingLockFile.
27
The previous module-level definitions of LinkFileLock, MkdirFileLock and
28
SQLiteFileLock will be retained until the 1.0 release.
32
python setup.py install
35
Classifier: Development Status :: 4 - Beta
36
Classifier: Intended Audience :: Developers
37
Classifier: License :: OSI Approved :: MIT License
38
Classifier: Operating System :: MacOS
39
Classifier: Operating System :: Microsoft :: Windows :: Windows NT/2000
40
Classifier: Operating System :: POSIX
41
Classifier: Programming Language :: Python
42
Classifier: Programming Language :: Python :: 2.4
43
Classifier: Programming Language :: Python :: 2.5
44
Classifier: Programming Language :: Python :: 2.6
45
Classifier: Programming Language :: Python :: 2.7
46
Classifier: Programming Language :: Python :: 3.0
47
Classifier: Topic :: Software Development :: Libraries :: Python Modules