pickleDB is a lightweight, simple and fast Python key-value store. It is built with the orjson module for extremely high performance and was inspired by Redis. It is licensed under the BSD three-clause license.
>>> from pickledb import PickleDB
>>> db = PickleDB('example.json')
>>> db.set('key', 'value')
True
>>> db.get('key')
'value'
$ pip install pickledb