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.
importrdbpy# Open databaseoptions=rdbpy.Options(create_if_missing=True)
db=rdbpy.DB('/path/to/db', options)
# Put/Getdb.put(b'key', b'value')
value=db.get(b'key')
# Iterateit=db.iterkeys()
it.seek_to_first()
whileit.valid():
print(it.key())
it.next()# Setup
make install
# Build
make build
# Test
make testApache-2.0