pickleDB is a fast, easy to use, in-memory Python
key-value store with first class asynchronous support. It is built with the orjson
module for extremely high performance. It is licensed under the BSD three-clause
license. Check out the website for installation
instructions, API docs, advanced examples, benchmarks, and more.
from pickledb import PickleDB
db = PickleDB("example.json").load()
db.set("key", "value")
db.get("key") # return "value"