NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #1074 most downloaded on PyPI
A python package that provides useful locks
Latest stable
0.20
Last release 1 years ago
11 Aug 2025
Release timing varies
gaps range from 8 days to 3.5 years
Nearly every release is documented
notes for 22 of 24 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
24 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
InterProcessLock now catches OSError and handles BlockingIOError correctly.
Adds non-context manager methods to inter-thread lock
.acquire_read_lock, .release_read_lock, .acquire_write_lock, and
.release_write_lock methods to the inter thread ReaderWriterLock as was
promised in the README.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Reshuffle the process lock code and properly document it.
spawn_nAllow writer to become a reader in thread ReaderWriter lock
Remove unnecessary setuptools pin
Switch to the modern python package build infrastructure
Fix a failure to parse README as utf-8 on python2
Fix a failure to parse README as utf-8
Nothing published for this version
Merge pull request #76 from psarka/0.16
Merge pull request #76 from psarka/0.16
Bump the package version to 0.16.3
Add testing for additional python versions
Nothing published for this version
Allow providing a custom exception logger to 'locked' decorator
Fix 'ensure_tree' check on freebsd
Use a tiny retry util helper class for performing process locking retries.
Directly use monotonic.monotonic.
Add LICENSE in generated source tarballs
Allow providing a non-standard (eventlet or other condition class) to the r/w lock for cases where it is useful to do so.
Add fastener logo (from openclipart).
Add helpful locked decorator that can lock a method using a found attribute (a lock object or list of lock objects) in the instance the method is atta
locked decorator that can lock a method using a found
attribute (a lock object or list of lock objects) in the instance the method
is attached to.
try_lock function.Allow the sleep function to be provided (so that various alternatives other than time.sleep can be used), ie eventlet.sleep (or other).
Make it possible to provide an acquisition timeout to the interprocess lock (which when acquisition can not complete in the desired time will return f
Have the interprocess lock acquire take a blocking keyword argument (defaulting to true) that can avoid blocking trying to acquire the lock
Renamed from 'shared_lock' to 'fasteners'
One column per quarter.