bash pip install hermescache python from hermescache import Cache cache = Cache() cache.set("key", "value") data = cache.get("key") cache.delete("key") python from hermescache import Cache from hermescache.backends.redis import RedisCache cache = Cache(backend=RedisCache(host="localhost", port=6379)) cache.set("key", "value") data = cache.get("key") cache.delete("key") bash pip install redis


上一篇:
下一篇:
切换中文