Skip to content
Snippets Groups Projects
user avatar
Alexander Regueiro authored
Removed following properties of ColumnFamilyOptions, which have been deprecated for some time. (They cause issues with Cython right now, and will be obsolete in v7 anyway.)

* `soft_rate_limit`
* `hard_rate_limit`
* `rate_limit_delay_max_milliseconds`
* `purge_redundant_kvs_while_flush`
* `skip_log_error_on_recovery`
4be57723

python-rocksdb

Python bindings for RocksDB.

See https://rocksdb-tina.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 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.