Python bindings for RocksDB
Find a file
breznak a7b7bd80d6 build wheels for py310
trying to get wheels for python=3.10 on Ubuntu 20.04; Seems many folks online would need this. Please review and publish to PyPI when this builds, thank you!
2023-08-25 09:33:25 -04:00
.github/workflows run ci on 18.04 2022-06-14 16:21:04 -04:00
docs docs 2022-01-17 19:55:20 -05:00
rocksdb fix f strings 2022-01-26 11:16:52 -05:00
scripts build wheels for py310 2023-08-25 09:33:25 -04:00
src move submodule to lbryio fork, update zlib due to 1.2.11 becoming unavailable 2022-03-28 10:27:37 -04:00
tests update column family param type for iterator to match the rest of the api 2022-01-16 14:26:20 -05:00
.gitignore Allow to compile the extension everywhere 2018-02-09 09:21:56 +01:00
.gitmodules move submodule to lbryio fork, update zlib due to 1.2.11 becoming unavailable 2022-03-28 10:27:37 -04:00
LICENSE.md Create LICENSE.md 2014-02-02 17:39:01 +01:00
Makefile move submodule to lbryio fork, update zlib due to 1.2.11 becoming unavailable 2022-03-28 10:27:37 -04:00
MANIFEST.in fix readme 2022-01-16 14:26:20 -05:00
pyproject.toml Require cython in the build-system 2022-01-18 17:22:48 -06:00
README.md update readme and setup.py 2021-11-09 13:29:21 -05:00
setup.cfg Allow to compile the extension everywhere 2018-02-09 09:21:56 +01:00
setup.py update tox, fix setup.py 2022-03-28 11:05:36 -04:00
tox.ini update tox, fix setup.py 2022-03-28 11:05:36 -04:00

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'