semvec/pypi-packages huggingface dataset:
madaf 0.0.1
Super fast key-value database similar to shelve
License: Apache
Requires Python: >=3.6
Keywords: database

madaf
~~~~~

A superfast key-value database in development. It works like a dictionary, except everything gets stored to disk and the database size can vastly exceed system memory. You can think of madaf as a faster and more efficent shelve package.

.. code:: python

    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"])