martyanov / python-rocksdb

Python bindings for RocksDB

Home Page:http://rocksdb.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Python bindings for RocksDB

http://rocksdb.readthedocs.io

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Python 90.2%Language:C++ 9.3%Language:Dockerfile 0.5%