Skip to main content

Short for wraps cache. A method cache system base on method Decorators.

Project description

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 均兼容

  1. 全自动安装: easy_install wrapcache 或者 pip install wrapcache / pip3 install wrapcache

  2. 半自动安装:先下载 https://pypi.python.org/pypi/wrapcache/ ,解压后运行 python setup.py install

  3. 手动安装:将 jieba 目录放置于当前目录或者 site-packages 目录

通过 import wrapcache 来引用

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wrapcache-1.0.5.zip (15.6 kB view details)

Uploaded Source

File details

Details for the file wrapcache-1.0.5.zip.

File metadata

  • Download URL: wrapcache-1.0.5.zip
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for wrapcache-1.0.5.zip
Algorithm Hash digest
SHA256 41cf41c3954bd2afefd684bbfa74591cce14c4541c2ab399b6f7c69a7e3b3d64
MD5 6ed81b2373111df02f2311e771a4cdd2
BLAKE2b-256 c16cc6011cd66da04a82478bd9f3005ff8c0cca35446e8bf347ecb3297cdae1d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page