single shared lock pool manage by filelock
Project description
filelock4s - single shared lock pool manage by filelock.
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
Release history Release notifications | RSS feed
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)