Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Merkle Tree implementation for Python3.

Project description

# nr-merkletree
Python-3 compatible Merkle tree implementation.

#### Current Stable Version

# Install

### Pip
pip install nr-merkletree

### Development Installation
* Clone the project.
* Install in Anaconda3 environment
$ conda env create --force -f dev_environment.yml
$ source activate nr-merkletree
$ pip install -e .

# Test
To run the tests:
make test

# Usage
from nr_merkletree import MerkleTree
from pprint import pprint

# A list of bytes data
data_chunks = [b'0', b'1', b'2', b'3', b'4']

# Create merkle_tree
merkle_tree = MerkleTree(data_chunks)

# Print out Merkle Tree

# Examples
$ python examples/

# License

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nr-merkletree, version 0.1.3
Filename, size File type Python version Upload date Hashes
Filename, size nr-merkletree-0.1.3.tar.gz (4.2 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page