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 hashes)

Uploaded Source

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