A superfast key-value database in development.
pip install madafIt works like a dictionary, except everything gets stored to disk and the database size can vastly exceed system memory.
from madaf import Madaf
db = Madaf("/tmp/mydb")
db["some_key"] = "some_value"
db["blah_blah"] = {"hello": "world", "foo": True}
print(db["some_key"])
print(db["blah_blah"])
del db["some_key"]
print(db["some_key"]) # throws KeyErrorYou can think of madaf as a faster and more efficent shelve package.