Python simple key value store with in-memory, MongoDB and Redis backends.
Here's a typical setup:
from quickkvs import KeyValueStore, MongoBackend
cache = KeyValueStore(backend=MongoBackend, **mongo_settings)
# set some data that expires in 200 seconds
cache.set("mykeyxyz", {'some': 'data'}, expires=200)
result = cache.get("mykeyxyz")
Mongo backend requires PyMongo Redis backend requires redis-py