Python bindings for RocksDB. See http://rocksdb.readthedocs.io for a more comprehensive install and usage description.
.. code-block:: bash
$ pip install rocksdb
.. code-block:: python
>>> 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'
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
.
.. _python-rocksdb: https://github.com/twmht/python-rocksdb .. _twmht: https://github.com/twmht .. _pyrocksdb: https://github.com/stephan-hof/pyrocksdb .. _stephan-hof: https://github.com/stephan-hof