Metadata-Version: 2.1
Name: filelock4s
Version: 1.0.0
Summary: single shared lock pool manage by filelock
Home-page: https://github.com/meanstrong/filelock4s
Author: pengmingqiang
Author-email: rockypengchina@outlook.com
Maintainer: pengmingqiang
Maintainer-email: rockypengchina@outlook.com
License: Apache 2.0
Platform: any
Classifier: Programming Language :: Python :: 3.9
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

# filelock4s - single shared lock pool manage by filelock.

![image](https://img.shields.io/badge/made_in-china-ff2121.svg)
[![image](https://img.shields.io/pypi/v/filelock4s.svg)](https://pypi.org/project/filelock4s/)
[![image](https://img.shields.io/pypi/l/filelock4s.svg)](https://pypi.org/project/filelock4s/)

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

## Requirements
- Python3.9

## Install
通过pip命令安装：
```shell
pip install filelock4s
```
或者通过下载源码包或clone代码至本地，然后通过如下命令安装：
```shell
python setup.py install
```

## Example
```python
from filelock4s.user_pool import UserPool

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