buffercache-1.0.2
توضیحات
a tool for data caching
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | buffercache-1.0.2 |
| نام | buffercache |
| نسخه کتابخانه | 1.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | bbing |
| ایمیل نویسنده | jack_cbc@163.com |
| آدرس صفحه اصلی | https://github.com/caibingcheng/buffercache |
| آدرس اینترنتی | https://pypi.org/project/buffercache/ |
| مجوز | MIT |



buffercache is a python3 library. It provides utility methods for data caching.
buffercache supports Python 3.0+ only. It is contained in only one Python file, so it can be easily copied into your project. (The copyright and license notice must be retained.)
example:
```python
from buffercache import BufferCache as BC
set_data = ((1, 2, 3), None, "", "123", (), [], {})
def get(data, args):
return data, args
bc = BC(timeout=0).set_getter(get)
for data in set_data:
bc.update(data, {'key': data})
print(bc.get())
```
Bugs can be reported to [https://github.com/caibingcheng/buffercache](https://github.com/caibingcheng/buffercache). The code can also be found there.
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.0 | Python |
نحوه نصب
نصب پکیج whl buffercache-1.0.2:
pip install buffercache-1.0.2.whl
نصب پکیج tar.gz buffercache-1.0.2:
pip install buffercache-1.0.2.tar.gz