4 Summary: Platform-independent file locking module
5 Home-page: http://launchpad.net/pylockfile
7 Author-email: openstack-dev@lists.openstack.org
9 Description: Note: This package is **deprecated**. It is highly preferred that instead of
10 using this code base that instead `fasteners`_ or `oslo.concurrency`_ is
11 used instead. For any questions or comments or further help needed
12 please email `openstack-dev`_ and prefix your email subject
13 with ``[oslo][pylockfile]`` (for a faster response).
15 The lockfile package exports a LockFile class which provides a simple API for
16 locking files. Unlike the Windows msvcrt.locking function, the fcntl.lockf
17 and flock functions, and the deprecated posixfile module, the API is
18 identical across both Unix (including Linux and Mac) and Windows platforms.
19 The lock mechanism relies on the atomic nature of the link (on Unix) and
20 mkdir (on Windows) system calls. An implementation based on SQLite is also
21 provided, more as a demonstration of the possibilities it provides than as
22 production-quality code.
24 Note: In version 0.9 the API changed in two significant ways:
26 * It changed from a module defining several classes to a package containing
27 several modules, each defining a single class.
29 * Where classes had been named SomethingFileLock before the last two words
30 have been reversed, so that class is now SomethingLockFile.
32 The previous module-level definitions of LinkFileLock, MkdirFileLock and
33 SQLiteFileLock will be retained until the 1.0 release.
37 python setup.py install
39 * Documentation: http://docs.openstack.org/developer/pylockfile
40 * Source: http://git.openstack.org/cgit/openstack/pylockfile
41 * Bugs: http://bugs.launchpad.net/pylockfile
45 Classifier: Intended Audience :: Developers
46 Classifier: License :: OSI Approved :: MIT License
47 Classifier: Operating System :: POSIX :: Linux
48 Classifier: Operating System :: MacOS
49 Classifier: Operating System :: Microsoft :: Windows :: Windows NT/2000
50 Classifier: Operating System :: POSIX
51 Classifier: Programming Language :: Python
52 Classifier: Programming Language :: Python :: 2
53 Classifier: Programming Language :: Python :: 2.7
54 Classifier: Programming Language :: Python :: 3
55 Classifier: Programming Language :: Python :: 3.3
56 Classifier: Topic :: Software Development :: Libraries :: Python Modules