Skip to main content

Note

The original pyrocksdb (https://pypi.python.org/pypi/pyrocksdb/0.4) has not been updated for long time. [twmht update pyrocksdb](https://github.com/twmht/python-rocksdb) to support the latest rocksdb.

This is a pyrocksdb for IOTA, Please open issues in github if you have any problem.

The main different is:

  • Fix column family problem and test cases

  • Using StringAppendOperator as column family merge operator default

  • Rename package from rocksdb to rocksdb_iota

pyrocksdb

Python bindings for RocksDB with IOTA modification. See http://python-rocksdb.readthedocs.io/en/latest/ for a more comprehensive install and usage description.

Quick Install

Quick install for debian/ubuntu like linux distributions.

$ apt-get install build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev
$ git clone https://github.com/facebook/rocksdb.git
$ cd rocksdb
$ mkdir build && cd build
$ cmake ..
$ make
$ export CPLUS_INCLUDE_PATH=${CPLUS_INCLUDE_PATH}:`pwd`/../include
$ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:`pwd`
$ export LIBRARY_PATH=${LIBRARY_PATH}:`pwd`

$ cd ../
$ apt-get install python-virtualenv python-dev
$ virtualenv pyrocks_test
$ cd pyrocks_test
$ . bin/active
$ pip install python-rocksdb-iota

Quick Usage Guide

>>> import rocksdb_iota
>>> db = rocksdb_iota.DB("test.db", rocksdb.Options(create_if_missing=True))
>>> db.put(b'a', b'data')
>>> print db.get(b'a')
b'data'

Metadata

Release files for python-rocksdb-iota 0.7.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for python-rocksdb-iota 0.7.2
File Size Uploaded Provenance Actions
python-rocksdb-iota-0.7.2.tar.gz 200.4 kB Without provenance Details for python-rocksdb-iota-0.7.2.tar.gz

Release files / python-rocksdb-iota-0.7.2.tar.gz

Download URL python-rocksdb-iota-0.7.2.tar.gz
Size 200.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d3834a4dd0cf0bd6e06beb8be2cd2a1c83e8764266da6f1d3232ff3b75e077de
BLAKE2b-256 checksum
How to use checksums
607077d113612214ee8a7f47cfe8f9b4836bb62d1697cc5f9d7a4c1f9da3d33b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for python-rocksdb-iota 0.7.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.7.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page