cs.cache-20181228
توضیحات
caching data structures and other lossy things with capped sizes
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | cs.cache-20181228 |
| نام | cs.cache |
| نسخه کتابخانه | 20181228 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Cameron Simpson |
| ایمیل نویسنده | cs@cskk.id.au |
| آدرس صفحه اصلی | https://bitbucket.org/cameron_simpson/css/commits/all |
| آدرس اینترنتی | https://pypi.org/project/cs.cache/ |
| مجوز | - |
A few caching facilities.
## Class `LRU_Cache`
A simple least recently used cache.
Unlike `functools.lru_cache`
this provides `on_add` and `on_remove` callbacks.
## Function `lru_cache(maxsize=None, cache=None, on_add=None, on_remove=None)`
Enhanced workalike of @functools.lru_cache.
نحوه نصب
نصب پکیج whl cs.cache-20181228:
pip install cs.cache-20181228.whl
نصب پکیج tar.gz cs.cache-20181228:
pip install cs.cache-20181228.tar.gz