From Newsgroup: comp.lang.python.announce
Lightweight implementation of a hierarchical distributed read-write lock
using Redis. This implementation supports concurrent readers and exclusive writers in a tree-like hierarchy, ensuring that locks on ancestors affect descendants.
Here are some of the key features of this implementation:
* Hierarchical locking with customizable path separators (e.g., /, :).
* Concurrent read locks on the same path or ancestors.
* Exclusive write locks on paths or descendants.
* Timeout and non-blocking lock options.
* Automatic lock refreshing for long-running operations.
https://pypi.org/project/redishilok/
--- Synchronet 3.20a-Linux NewsLink 1.114