Git Product home page Git Product logo

jason-nguyen17 / lbry-rocksdb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lbryio/lbry-rocksdb

0.0 0.0 0.0 11.02 MB

Python bindings for RocksDB

License: BSD 3-Clause "New" or "Revised" License

Shell 1.79% C++ 6.60% Python 2.02% Makefile 2.21% Cython 1.33% C 78.47% XSLT 0.14% Roff 0.76% CSS 0.02% Perl 0.06% HTML 3.56% Dockerfile 0.02% Meson 0.19% CMake 0.22% SAS 0.02% Ada 0.98% Pascal 0.82% C# 0.61% Assembly 0.18% M4 0.01%

lbry-rocksdb's Introduction

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'

lbry-rocksdb's People

Contributors

stephan-hof avatar ifa88 avatar twmht avatar jackrobison avatar mosquito avatar abhiramr avatar maxibor avatar kevinkjt2000 avatar fish2000 avatar alexandrem avatar metachris avatar gmossessian avatar fried avatar sileht avatar rimpybharot avatar meridianz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.