You can use pip to install lsm-db:

pip install lsm-db

The project is hosted at and can be installed from source:

git clone
cd lsm-db
python build
python install


lsm-db depends on Cython to generate the Python extension. By default, lsm-db ships with a pre-generated C source file, so it is not strictly necessary to install Cython in order to compile lsm-db, but you may wish to install Cython to ensure the generated source is compatible with your setup.

After installing lsm-db, you can run the unit tests by executing the tests module: