patx/mongokv
mongoDB for lazy people
$ git clone https://gitman.io/git/patx/mongokv
is a tiny sync/async key-value store backed by PyMongo that provides a
dead simple Redis-like API (set, get, etc). It is safe across threads, processes,
and ASGI workers. For help getting started, installation, advanced examples and more
read the API Docs and User Guide here.
>>> from mongokv import Mkv
>>> db = Mkv('mongodb://localhost:27071')
>>> db.set('hello', 'world')
>>> db.get('hello')
'world'