Skip to content

lbryio/lbry-rocksdb

This branch is 103 commits ahead of twmht/python-rocksdb:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a7b7bd8 · Aug 25, 2023
Jun 14, 2022
Jan 18, 2022
Jan 26, 2022
Aug 25, 2023
Mar 28, 2022
Jan 16, 2022
Feb 9, 2018
Mar 28, 2022
Feb 2, 2014
Jan 16, 2022
Mar 28, 2022
Nov 9, 2021
Jan 18, 2022
Feb 9, 2018
Mar 28, 2022
Mar 28, 2022

Repository files navigation

lbry-rocksdb

Note

The python-rocksdb and pyrocksdb packages haven't been updated in a long time - this repo is a fork of python-rocksdb with many of the PRs to it merged, and with bunch of updates and improvements from @iFA88 and @mosquito.

Install from pip

pip install lbry-rocksdb

Install for development / from source

sudo apt install build-essential binutils
git clone https://github.com/lbryio/lbry-rocksdb.git
cd lbry-rocksdb
git submodule update --init --recursive
git pull --recurse-submodules
make clean && make
pip install -e .
python -m unittest discover . -v

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'

About

Python bindings for RocksDB

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Cython 66.8%
  • Python 24.5%
  • C++ 7.8%
  • Other 0.9%