Skip to content

NightTsarina/python-rocksdb

This branch is 88 commits ahead of martyanov/python-rocksdb:master.

Folders and files

NameName
Last commit message
Last commit date
Mar 30, 2022
Mar 14, 2022
Mar 14, 2022
Feb 9, 2018
Feb 9, 2018
Nov 11, 2021
Dec 14, 2020
Aug 16, 2015
Jan 27, 2021
Mar 14, 2022
Nov 12, 2021
Mar 28, 2022
Nov 12, 2021

Repository files navigation

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.

Packages

No packages published

Languages

  • Cython 71.3%
  • Python 21.2%
  • C++ 7.0%
  • Dockerfile 0.5%