Skip to main content

WHS Ltd provides collection of pure-python modules.

This is implementation of lock, that allows only one kind of operation be executed at the time (reading or writing). Any number of callers can acquire reading or writing at once, but if someone tries to acquire writing while reading is acquired, it will wait, until all readers that acquired lock release it (and vice versa).

At the moment it works only with threading, but few simple modifications will result in multiprocessing-enabled implementation.

whs.utils.rwlock is a package, but should be used as a module (all code is in __init__.py).

Metadata

Release files for whs.utils.rwlock 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whs.utils.rwlock 0.6.0
File Size Uploaded Provenance Actions
whs.utils.rwlock-0.6.0.tar.gz 6.9 kB Without provenance Details for whs.utils.rwlock-0.6.0.tar.gz

Release files / whs.utils.rwlock-0.6.0.tar.gz

Download URL whs.utils.rwlock-0.6.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
1d9a43bb20b0ce3d5aa8942109dd3b32e330e793fa4503cbad9b029727bb3d12
BLAKE2b-256 checksum
How to use checksums
fe53df84d2e5993fd9f78f4f2ab2198684846c4d5b1c57f2014af0c629addf3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for whs.utils.rwlock 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.6.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page