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