Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 854 Bytes

README.rst

File metadata and controls

36 lines (23 loc) · 854 Bytes

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.