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 details)
Built Distribution
File details
Details for the file fasteners-0.4.0.tar.gz
.
File metadata
- Download URL: fasteners-0.4.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70c04a151401ec46b6a8036256b8a791f5f7613af1664c32a0b00b2c5963c52e |
|
MD5 | cb44643e95bf9f124f0d10acaf17a82d |
|
BLAKE2b-256 | 6aa7db1078cae8a8ecd313ad90fb54a95cd136c149b9170e00877b910491b63b |
File details
Details for the file fasteners-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: fasteners-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 15.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b42269c819c3b237e12476b504edbce2c2f82b839cee167032e536548cea9184 |
|
MD5 | 0b18b803435388ad85ae26d1a306ba9c |
|
BLAKE2b-256 | f99cf9ec460c3871964ee39ed015b96bf9a755698a53c7c93b3d395d5dca4887 |