Python bindings for RocksDB
Project description
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'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file lbry_rocksdb-0.8.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: lbry_rocksdb-0.8.2-pp37-pypy37_pp73-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 6.5 MB
- Tags: PyPy, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 347ea634fb1f20a8ddea828fa7a6f28b3ad5d6d8234044e176324ad5611bee8c |
|
MD5 | c0eccb4d445ad61d71369f39d7f98406 |
|
BLAKE2b-256 | 402bc161b31a4173f6696edfe76e78e7370b489ea46545a15f75738aff798e74 |
File details
Details for the file lbry_rocksdb-0.8.2-cp39-cp39-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: lbry_rocksdb-0.8.2-cp39-cp39-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.9, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b146386d39fa26a9455b869e034354c47e49f96da2421253b539e6e394ff9001 |
|
MD5 | ba70e2624069ed5dc7410b1d3eeb8676 |
|
BLAKE2b-256 | 47199b254e734e83a89e09171584bde95064669c6edbef21222ee9c08efab9b3 |
File details
Details for the file lbry_rocksdb-0.8.2-cp39-cp39-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: lbry_rocksdb-0.8.2-cp39-cp39-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.9, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c31abd60b0faec6a42354f76195f25595ce4cf482eed134fb73d578093906d0f |
|
MD5 | 71e764bed4895967cd4b3c249a6d6c2e |
|
BLAKE2b-256 | 62e74acdd51a07ff2edcd9331b90b053f36b0b6ef5c92fda9d9a2b6fd65b86b7 |
File details
Details for the file lbry_rocksdb-0.8.2-cp38-cp38-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: lbry_rocksdb-0.8.2-cp38-cp38-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.8, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85dcbb5c2a09b68802b8ec16a7c9e13263b1aa4262b8796e48e969ab6457f52f |
|
MD5 | 8fac9a12905de7719b86a346fe9ed462 |
|
BLAKE2b-256 | 7f8570e9157e5ec2d061dba6d12aa5a92063bebfbb18bb48d1497bc39c3708b7 |
File details
Details for the file lbry_rocksdb-0.8.2-cp38-cp38-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: lbry_rocksdb-0.8.2-cp38-cp38-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.8, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad7dc02457266043e13f15e3e3a3a4786f4d164ff5ca39956a4b8810fb2cdf7d |
|
MD5 | fd7b109ee55750bd41a9a45fd1fa49e7 |
|
BLAKE2b-256 | 9b414fde4f3826786c9550917fc4bda40691972796804c490e9f0d57ca377408 |
File details
Details for the file lbry_rocksdb-0.8.2-cp37-cp37m-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: lbry_rocksdb-0.8.2-cp37-cp37m-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 3.3 MB
- Tags: CPython 3.7m, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e1d1a73a25a0eb310cc818756b48b62bf6b485e8ecfb2377be65ba4e0be120c |
|
MD5 | 96aa442fd6347397de56d13c589de352 |
|
BLAKE2b-256 | 084ce35c81249eb1cf8768d2a53fc0f2df6fca870b8a90a439449753973c3a69 |
File details
Details for the file lbry_rocksdb-0.8.2-cp37-cp37m-macosx_10_14_x86_64.whl
.
File metadata
- Download URL: lbry_rocksdb-0.8.2-cp37-cp37m-macosx_10_14_x86_64.whl
- Upload date:
- Size: 2.9 MB
- Tags: CPython 3.7m, macOS 10.14+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.9.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2132fe6d6f8e7625216c9f251e5dc17cd5668fbbea9fd78567c55d6ed11dea60 |
|
MD5 | 8d32cbde0c1e53cc9b626bc74eb1d4b7 |
|
BLAKE2b-256 | 336bbfd7ff5b4686387839cfb1d7af2d85bb1ad3f954669b1bc6f74bee1a48e6 |