Debian packaging for ‘python-lockfile’ package. https://tracker.debian.org/pkg/python-lockfile

Ben Finney 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 9 年之前
doc 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
lockfile 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
lockfile.egg-info 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
test 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
ACKS d91dc0fbf2 Switch to upstream source from tarball ‘python-lockfile_0.10.2.orig.tar.gz’. 8 年之前
AUTHORS 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
ChangeLog 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
LICENSE 911564ceb8 Switch to upstream source from tarball ‘python-lockfile_0.7.orig.tar.gz’. 8 年之前
PKG-INFO 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
README.rst 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
RELEASE-NOTES d91dc0fbf2 Switch to upstream source from tarball ‘python-lockfile_0.10.2.orig.tar.gz’. 8 年之前
setup.cfg 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
setup.py 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
test-requirements.txt 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前
tox.ini 3c91c20eb1 Switch to upstream source from tarball ‘python-lockfile_0.12.2.orig.tar.gz’. 8 年之前

README.rst

Note: This package is **deprecated**. It is highly preferred that instead of
using this code base that instead `fasteners`_ or `oslo.concurrency`_ is
used instead. For any questions or comments or further help needed
please email `openstack-dev`_ and prefix your email subject
with ``[oslo][pylockfile]`` (for a faster response).

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.

To install:

python setup.py install

* Documentation: http://docs.openstack.org/developer/pylockfile
* Source: http://git.openstack.org/cgit/openstack/pylockfile
* Bugs: http://bugs.launchpad.net/pylockfile