python-rocksdb
python-rocksdb copied to clipboard
Python bindings for RocksDB used by faust-streaming
faust-streaming-rocksdb
Python bindings for RocksDB 6.
This project is now deprecated, users should now use https://github.com/Congyuwang/RocksDict since it has better documentation, portability, and an active community.
See https://faust-streaming.github.io/python-rocksdb/ for a more comprehensive install and usage description.
Quick Install
This library is built for Debian + Ubuntu Distributions.
.. code-block:: bash
pip3 install faust-streaming-rocksdb
Quick Usage Guide
.. 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'
Acknowledgements
This project attempts to collect the efforts put into different forks of the
pyrocksdb_ project that was originally written by stephan-hof, as sadly
none seems to be actively maintained. In particular, the python-rocksdb fork
created by twmht, but it also incorporates changes from other forks and
unfinished pull requests. The current state of this project has pulled all of
these commits from NightTsarina's fork_.
.. _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 .. _NightTsarina: https://github.com/NightTsarina .. _fork: https://github.com/NightTsarina/python-rocksdb