A python package that provides useful locks.
Project description
A python package that provides useful locks.
It includes the following functionality:
Reader-writer locks
Multiple readers (at the same time).
Single writers (blocking any readers).
Helpful read_locked and write_locked decorators.
Inter-process locks
Single writer using file based locking (these automatically release on process exit, even if __release__ or __exit__ is never called).
Helpful interprocess_locked decorator.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fasteners-0.4.0.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for fasteners-0.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b42269c819c3b237e12476b504edbce2c2f82b839cee167032e536548cea9184 |
|
MD5 | 0b18b803435388ad85ae26d1a306ba9c |
|
BLAKE2b-256 | f99cf9ec460c3871964ee39ed015b96bf9a755698a53c7c93b3d395d5dca4887 |