python2-locket-0.2.0-2.2.noarch.rpm


Advertisement

Description

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
Homepage http://github.com/mwilliamson/locket.py
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.

Alternatives

Package Version Architecture Repository
python2-locket - - -

Requires

Name Value
python(abi) = 2.7

Provides

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

Obsoletes

Name Value
python-locket < 0.2.0-2.2

Download

Type URL
Mirror widehat.opensuse.org
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

Files

Path
/usr/lib/python2.7/site-packages/locket-0.2.0-py2.7.egg-info
/usr/lib/python2.7/site-packages/locket/__init__.py
/usr/lib/python2.7/site-packages/locket/__init__.pyc
/usr/lib/python2.7/site-packages/locket/__init__.pyo
/usr/share/doc/packages/python2-locket/README.rst
/usr/share/licenses/python2-locket/LICENSE

Changelog

2018-12-04 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
2018-03-14 - jengelh@inai.de
- Trim other OS mentions from descriptions.
2018-03-14 - sebix+novell.com@sebix.at
- use %license macro
2017-04-19 - toddrme2178@gmail.com
- Implement single-spec version.
2015-07-14 - toddrme2178@gmail.com
- 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
Advertisement
Advertisement