Skip to main content

A python package that provides useful locks.

Project description

https://travis-ci.org/harlowja/fasteners.png?branch=master

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


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)

Uploaded Source

Built Distribution

fasteners-0.4.0-py2.py3-none-any.whl (15.2 kB view details)

Uploaded Python 2 Python 3

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

Hashes for fasteners-0.4.0.tar.gz
Algorithm Hash digest
SHA256 70c04a151401ec46b6a8036256b8a791f5f7613af1664c32a0b00b2c5963c52e
MD5 cb44643e95bf9f124f0d10acaf17a82d
BLAKE2b-256 6aa7db1078cae8a8ecd313ad90fb54a95cd136c149b9170e00877b910491b63b

See more details on using hashes here.

File details

Details for the file fasteners-0.4.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for fasteners-0.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b42269c819c3b237e12476b504edbce2c2f82b839cee167032e536548cea9184
MD5 0b18b803435388ad85ae26d1a306ba9c
BLAKE2b-256 f99cf9ec460c3871964ee39ed015b96bf9a755698a53c7c93b3d395d5dca4887

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page