Skip to main content

NFS-safe file locking with timeouts for POSIX systems

Project description

flufl.lock - An NFS-safe file lock

This package is called ``flufl.lock``. It is an NFS-safe file-based lock with
timeouts for POSIX systems.


``flufl.lock`` requires Python 2.6 or newer, and is compatible with Python 3
when used with ``2to3``.


A `simple guide`_ to using the library is available within this package, in
the form of doctests. The manual is also available online in the Cheeseshop

Project details

The project home page is:

You should report bugs at:

You can download the latest version of the package either from the Cheeseshop:

or from the Launchpad page above. Of course you can also just install it with
``pip`` or ``easy_install`` from the command line::

% sudo pip flufl.lock
% sudo easy_install flufl.lock

You can grab the latest development copy of the code using Bazaar, from the
Launchpad home page above. See for details on the
Bazaar distributed revision control system. If you have Bazaar installed, you
can grab your own branch of the code like this::

bzr branch lp:flufl.lock

You may contact the author via


Copyright (C) 2004-2010 Barry A. Warsaw

This file is part of flufl.lock.

flufl.lock is free software: you can redistribute it and/or modify it under
the terms of the GNU Lesser General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option) any
later version.

flufl.lock is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more

You should have received a copy of the GNU Lesser General Public License along
with flufl.lock. If not, see <>.

Table of Contents

.. toctree::


.. _`simple guide`: docs/using.html

NEWS for flufl.lock

2.1.1 (2011-08-20)
* Fixed TypeError in .lock() method due to race condition in _releasetime
property. Found by Stephen A. Goss. (LP: #827052)

2.1 (2010-12-22)
* Added lock.details.

2.0.2 (2010-12-19)
* Small adjustment to doctest.

2.0.1 (2010-11-27)
* Add missing exception to __all__.

2.0 (2010-11-26)
* Package renamed to flufl.lock.


Try `bzr log` for details.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

flufl.lock-2.1.1.tar.gz (21.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page