Skip to content

martyanov/python-rocksdb

 
 

Repository files navigation

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.

Languages

  • Python 90.2%
  • C++ 9.3%
  • Dockerfile 0.5%