wrapcache:wrap cache, python方法装饰器缓存系统。
wrapcache: Short for wraps cache. A Function / Method OUTPUT cache system base on function Decorators.
GitHub: https://github.com/hustcc/wrapcache
特点
兼容各种版本的python,包括python2和python3的个版本;
使用方便:一个装饰器放到方法的头部即可缓存该方法;
配置简单:cache指定缓存方式、timeout指定缓存过期时间;
MIT 授权协议;
安装说明
代码对 Python 2/3 均兼容
全自动安装: easy_install wrapcache 或者 pip install wrapcache / pip3 install wrapcache
半自动安装:先下载 https://pypi.python.org/pypi/wrapcache/ ,解压后运行 python setup.py install
手动安装:将 jieba 目录放置于当前目录或者 site-packages 目录
通过 import wrapcache 来引用
Metadata
Release files for wrapcache 1.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wrapcache-1.0.8.zip | 16.8 kB | Details |
Release files / wrapcache-1.0.8.zip
| Download URL | wrapcache-1.0.8.zip |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4550744cf64c3643754fd95c2eae62190fdcb15abb76ca0661b6946d3dd2ee2c
|
|
BLAKE2b-256 checksum How to use checksums |
395ffee52c29d0887a0457f256d7503d2bea1ad3fe9d02d269b1374db400a757
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |