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.3.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fasteners-0.3.0-py2.py3-none-any.whl (15.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file fasteners-0.3.0.tar.gz.

File metadata

  • Download URL: fasteners-0.3.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for fasteners-0.3.0.tar.gz
Algorithm Hash digest
SHA256 fce57e96be33ad1c148b4f2b77eb8bf02d786c45006d133252abbf92d914a4fa
MD5 68a22ef16bdb5f6508ca1b79f3903304
BLAKE2b-256 28871283724df900b1c3af8b970ca671c9184b8f09f6b653ea84d855e846e9be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fasteners-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7a475f5908b8f70126bad858fa66902fb3e7d20d3ddd3dcb75eaea42f86ef0ac
MD5 b5cf2a43cbd5940b2907686d4cb8c01c
BLAKE2b-256 62dfc01464b3138fd62c3df91e655e14f293197c6e9101175eb945f7b83fe812

See more details on using hashes here.

Supported by

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