Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 849 Bytes

README.rst

File metadata and controls

33 lines (21 loc) · 849 Bytes

Storage Cache

Installation

pip install storage-cache

How to use

from storage_cache import StorageCacheFactory
from storage_cache.types import REDIS_STORAGE_CACHE

StorageCache = StorageCacheFactory.factory(REDIS_STORAGE_CACHE)
storage_cache = StorageCache(
    <redis_host>, <redis_port>, <redis_password>, <redis_db>, <key_format>)