Skip to main content

Python bindings for RocksDB

Project description

Python bindings for RocksDB.

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.

pip3 install faust-streaming-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. The current state of this project has pulled all of these commits from NightTsarina’s fork.

Project details


Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page