python2-locket - File-based locks for Python

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python2-locket-0.2.0-2.2.noarch.rpm
Package name python2-locket
Package version 0.2.0
Package release 2.2
Package architecture noarch
Package type rpm
Category Development/Languages/Python
License BSD-2-Clause
Maintainer -
Download size 14.13 KB
Installed size 16.38 KB
Locket implements a lock that can be used by multiple processes provided
they use the same path.
Locks largely behave as (non-reentrant) `Lock` instances from the `threading`
module in the standard library. Specifically, their behaviour is:
* Locks are uniquely identified by the file being locked,
both in the same process and across different processes.
* Locks are either in a locked or unlocked state.
* When the lock is unlocked, calling `acquire()` returns immediately and changes
the lock state to locked.
* When the lock is locked, calling `acquire()` will block until the lock state
changes to unlocked, or until the timeout expires.
* If a process holds a lock, any thread in that process can call `release()` to
change the state to unlocked.
* Behaviour of locks after `fork` is undefined.


Package Version Architecture Repository
python2-locket - - -


Name Value
python(abi) = 2.7


Name Value
python-locket = 0.2.0-2.2
python2-locket = 0.2.0-2.2


Name Value
python-locket < 0.2.0-2.2


Type URL
Binary Package python2-locket-0.2.0-2.2.noarch.rpm
Source Package python-locket-0.2.0-2.2.src.rpm

Install Howto

Install python2-locket rpm package:

# zypper install python2-locket




2018-12-04 - Matej Cepl <>
- Remove superfluous devel dependency for noarch package
2018-03-14 -
- Trim other OS mentions from descriptions.
2018-03-14 -
- use %license macro
2017-04-19 -
- Implement single-spec version.
2015-07-14 -
- Initial version

See Also

Package Description
python2-lockfile-0.12.2-1.1.noarch.rpm Platform-independent file locking module
python2-logilab-astng-0.24.3-2.2.noarch.rpm Python Python Abstract Syntax Tree (New Generation)
python2-logilab-common-1.4.1-2.2.noarch.rpm Python lowlevel functionality shared by logilab projects
python2-logutils-0.3.5-2.2.noarch.rpm Logging utilities
python2-logzero-1.5.0-1.1.noarch.rpm A logging module for Python
python2-lupa-1.8-1.1.i586.rpm Python wrapper around Lua and LuaJIT
python2-lupa-1.8-1.1.x86_64.rpm Python wrapper around Lua and LuaJIT
python2-lxml-4.3.3-1.1.i586.rpm Pythonic XML processing library
python2-lxml-4.3.3-1.1.x86_64.rpm Pythonic XML processing library
python2-lxml-devel-4.3.3-1.1.i586.rpm Development files for python-lxml
python2-lxml-devel-4.3.3-1.1.x86_64.rpm Development files for python-lxml
python2-lz4-2.1.6-1.1.i586.rpm LZ4 Bindings for Python
python2-lz4-2.1.6-1.1.x86_64.rpm LZ4 Bindings for Python
python2-lzmaffi-0.3.0-1.2.i586.rpm Port of Python 3.3's 'lzma' module for XZ/LZMA compressed files to cffi
python2-lzmaffi-0.3.0-1.2.x86_64.rpm Port of Python 3.3's 'lzma' module for XZ/LZMA compressed files to cffi