sqlite_cache的Python项目详细描述
由sqlite支持的哑缓存。缓存具有最大容量,将删除
为新条目腾出空间的旧条目。
用法示例:
from sqlite_cache import SQLiteCache
cache = SQLiteCache(".cache.db")
cache.set("key", "value")
print "value for {0!r} is {0!r}".format("key", cache.get("key"))
支持python>;=2.6和>;=3.2。
欢迎加入QQ群-->: 979659372
推荐PyPI第三方库