Skip to main content

single shared lock pool manage by filelock

Project description

filelock4s - single shared lock pool manage by filelock.

image image image

About

基于filelock实现的单个共享锁数据文件的锁池管理.

Requirements

  • Python3.9

Install

通过pip命令安装:

pip install filelock4s

或者通过下载源码包或clone代码至本地,然后通过如下命令安装:

python setup.py install

Example

from filelock4s.user_pool import UserPool

with UserPool("user.data").acquire_to_add_current_user():
    pass

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

filelock4s-1.0.0.zip (17.1 kB view details)

Uploaded Source

File details

Details for the file filelock4s-1.0.0.zip.

File metadata

  • Download URL: filelock4s-1.0.0.zip
  • Upload date:
  • Size: 17.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for filelock4s-1.0.0.zip
Algorithm Hash digest
SHA256 a01e378f4cda9dd2513024bb7f1511d9eab8f928f1a8f0361651d0692c935e86
MD5 7c8326e9666ececdd5a5086f8ac92907
BLAKE2b-256 fbdeb9baa0f3d12405ac36629ecfe7159204738be05e222946d3544db4fe2f03

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