blob: 9f72376f9acaa1c83ba9a25e24d4de0416ad13b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
Metadata-Version: 1.1
Name: lockfile
Version: 0.10.2
Summary: Platform-independent file locking module
Home-page: http://launchpad.net/pylockfile
Author: OpenStack
Author-email: openstack-dev@lists.openstack.org
License: UNKNOWN
Description: The lockfile package exports a LockFile class which provides a simple API for
locking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf
and flock functions, and the deprecated posixfile module, the API is
identical across both Unix (including Linux and Mac) and Windows platforms.
The lock mechanism relies on the atomic nature of the link (on Unix) and
mkdir (on Windows) system calls. An implementation based on SQLite is also
provided, more as a demonstration of the possibilities it provides than as
production-quality code.
Note: In version 0.9 the API changed in two significant ways:
* It changed from a module defining several classes to a package containing
several modules, each defining a single class.
* Where classes had been named SomethingFileLock before the last two words
have been reversed, so that class is now SomethingLockFile.
The previous module-level definitions of LinkFileLock, MkdirFileLock and
SQLiteFileLock will be retained until the 1.0 release.
Available on GitHub from:
git://github.com/smontanaro/pylockfile.git
To install:
python setup.py install
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows :: Windows NT/2000
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|