/python-rocksdb

Python bindings for RocksDB

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

python-rocksdb

Python bindings for RocksDB. See http://rocksdb.readthedocs.io for a more comprehensive install and usage description.

Quick install

$ pip install rocksdb

Quick usage guide

>>> import rocksdb
>>> db = rocksdb.DB('test.db', rocksdb.Options(create_if_missing=True))
>>> db.put(b'a', b'data')
>>> print(db.get(b'a'))
b'data'

Acknowledgements

This project is a fork of python-rocksdb maintained by twmht, which itself is a fork of pyrocksdb, that was originally written by stephan-hof.