Metadata-Version: 2.1
Name: lbry-rocksdb-optimized
Version: 0.8.1
Summary: Python bindings for RocksDB
Home-page: https://github.com/binh-vu/lbry-rocksdb
Author: Binh Vu
Author-email: binh@toan2.com
License: BSD License
Keywords: rocksdb,static,build
Platform: UNKNOWN
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
License-File: LICENSE.md
Requires-Dist: setuptools (>=25)
Provides-Extra: doc
Requires-Dist: sphinx-rtd-theme ; extra == 'doc'
Requires-Dist: sphinx ; extra == 'doc'

## lbry-rocksdb

### Note

The `python-rocksdb` and `pyrocksdb` packages haven't been updated in a long time - the repo lbry-rocksdb is a fork of python-rocksdb with many of the PRs to it merged, and with [bunch of updates and improvements](https://github.com/iFA88/python-rocksdb) from @iFA88 and @mosquito.

This repo is a fork from [lbry-rocksdb](https://github.com/lbryio/lbry-rocksdb) that I compiled lbry-rocksdb to use on Centos & Ubuntu. I also compiled expicitly with DEBUG_LEVEL=0.

### Install from pip

    pip install lbry-rocksdb

### Build instruction

    Creating docker images to build this project
    ```
    docker build -t rocksdb:centos7 -f Dockerfile.centos7 .
    docker build -t rocksdb:ubuntu -f Dockerfile.ubuntu .
    ```

    Compile && make wheels
    ```
    docker run --rm -v $(pwd):/lbry-rocksdb -w /lbry-rocksdb -it rocksdb:centos7 bash -c 'make clean && make && scripts/make-wheels.sh'
    docker run --rm -v $(pwd):/lbry-rocksdb -w /lbry-rocksdb -it rocksdb:ubuntu bash -c 'make clean && make && scripts/make-wheels.sh'
    ```

    Upload them to pypi
    ```
    twine upload  --skip-existing dist/* --verbose
    ```


