Skip to main content

pyfdlock - file lock util

Project description

Code style: black

pyfdlock - python file lock

secure and comfortable locking file regions

features:

  • tracks already locked regions
    • checks overlapping regions
  • with context manager included
    • automatic unlocking
  • custom locking backends (currently Linux only)

how to use

refer to sample.py

Platform

Tested on Python3, and Linux.

Development status

alpha state. the API or logical call flow might change without prior notice.

read CHANGELOG for latest, or upcoming news.

installation

available on pypi. install with:

python3 -m pip install pyfdlock

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

pyfdlock-0.0.2.linux-x86_64.tar.gz (5.7 kB view hashes)

Uploaded source

Built Distribution

pyfdlock-0.0.2-py3-none-any.whl (15.4 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page