Simple pure-Python LSM key-value storage engine.
Install package via Pip.
pip install git+https://github.com/benshanahan1/simpledb
Usage:
>>> from simpledb import SimpleDb
>>> db = SimpleDb("path/to/my.db")
>>> db.set(b"foo", b"bar")
>>> db.set(b"bar", b"baz")
>>> db.get(b"foo")
b'bar'
>>> db.keys
[b'foo', b'bar']
pip install -e .[dev]
pytest
Run performance test:
python tests/performance.py