Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: python311-locket | Distribution: SUSE Linux Framework One |
Version: 1.0.0 | Vendor: SUSE LLC <https://www.suse.com/> |
Release: slfo.1.1.3 | Build date: Mon Aug 26 15:17:05 2024 |
Group: Development/Languages/Python | Build host: h01-ch2c |
Size: 22140 | Source RPM: python-locket-1.0.0-slfo.1.1.3.src.rpm |
Packager: https://www.suse.com/ | |
Url: https://github.com/mwilliamson/locket.py | |
Summary: File-based locks for Python |
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.
BSD-2-Clause
* Fri Jun 24 2022 code@bnavigator.de - Update to 1.0.0 * No release notes. From git log: * Fix #5: make sure it is sane to use different timeouts on the same file * Close file when acquire() fails * Raise LockError when calling release on an unlocked lock * Use time.monotonic() when available - Enable test suite -- by requiring untested spur.py :( * Tue Dec 04 2018 mcepl@suse.com - Remove superfluous devel dependency for noarch package * Wed Mar 14 2018 jengelh@inai.de - Trim other OS mentions from descriptions. * Wed Mar 14 2018 sebix+novell.com@sebix.at - use %license macro * Wed Apr 19 2017 toddrme2178@gmail.com - Implement single-spec version. * Tue Jul 14 2015 toddrme2178@gmail.com - Initial version
/usr/lib/python3.11/site-packages/locket /usr/lib/python3.11/site-packages/locket-1.0.0-py3.11.egg-info /usr/lib/python3.11/site-packages/locket-1.0.0-py3.11.egg-info/PKG-INFO /usr/lib/python3.11/site-packages/locket-1.0.0-py3.11.egg-info/SOURCES.txt /usr/lib/python3.11/site-packages/locket-1.0.0-py3.11.egg-info/dependency_links.txt /usr/lib/python3.11/site-packages/locket-1.0.0-py3.11.egg-info/top_level.txt /usr/lib/python3.11/site-packages/locket/__init__.py /usr/lib/python3.11/site-packages/locket/__pycache__ /usr/lib/python3.11/site-packages/locket/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/locket/__pycache__/__init__.cpython-311.pyc /usr/share/doc/packages/python311-locket /usr/share/doc/packages/python311-locket/README.rst /usr/share/licenses/python311-locket /usr/share/licenses/python311-locket/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Sep 24 23:57:58 2024