Python bindings for RocksDB with Cython - batteries included!
No RocksDB installation required - everything is bundled in the wheel for Linux and macOS (Intel + Apple Silicon).
pip install rdbpythonThat's it! No need to install RocksDB or any compression libraries manually.
import rdbpy
# Open database
options = rdbpy.Options(create_if_missing=True)
db = rdbpy.DB('/path/to/db', options)
# Put/Get
db.put(b'key', b'value')
value = db.get(b'key')
# Iterate
it = db.iterkeys()
it.seek_to_first()
while it.valid():
print(it.key())
it.next()# Setup
make install
# Build
make build
# Test
make testApache-2.0