Two Level Local Cache
Project description
Two Level Local Cache
Free software: ISC license
Documentation: https://tlcache.readthedocs.org.
Usage
>>> from tlcache import TLCache >>> cache = TLCache(cache_dir="/tmp/xxxxdir") >>> cache.cache() ... def add(c): ... return c + 1
Features
Two level cache, first level is memory, and second level is the filesystem
History
0.1.2 (2015-11-13)
Fix a bug that which causes when cache invalidate wil not cached again.
0.1.1 (2015-11-10)
Inside the tlcache’s add method, use the filecache’s set method internally.
0.1.0 (2015-11-10)
First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tlcache-0.1.2.tar.gz
(15.1 kB
view hashes)