XMLHashTree
Python library for calculating hash trees (also known as Merkle Tree).
This package contains essentially to important classes:
XMLHashTreeSaltedXMLHashTree
Setup
Install the latest release from PyPI:
pip install xmlhashtree
Alternatively, install directly from the git repository:
pip install git+https://gitlab.com/MatthiasLohr/xmlhashtree.git
Example Usage
import xmlhashtree
import xml.etree.ElementTree
tree = xml.etree.ElementTree.parse('input.xml').getroot()
hash_tree = xmlhashtree.XMLHashTree(tree) # You can also use SaltedXMLHashTree here
Copyright (c) by Matthias Lohr <mail@mlohr.com>
License
This project is licensed under the MIT License, see LICENSE.md for details.
Release files for xmlhashtree 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| xmlhashtree-1.0.0.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| xmlhashtree-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / xmlhashtree-1.0.0.tar.gz
| Download URL | xmlhashtree-1.0.0.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6534c2d33f4fb458fd72b75682fed10412d7d880ab017c2ef45d400bd3eed83b
|
|
BLAKE2b-256 checksum How to use checksums |
2c9f0c5cb2e984523b1dffa10ce1ddf0c5e1819e06084127486ed74b530e6c9d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|
Release files / xmlhashtree-1.0.0-py3-none-any.whl
| Download URL | xmlhashtree-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dcfc8ddc827593de0d7259c591e4fcc8a373924aca49d6bb6c626c3883fdc3b4
|
|
BLAKE2b-256 checksum How to use checksums |
34a85c20a4a6af0dcc7e9dd69e534a29e9df4228145bba96f4ae26c79d7324e6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.14.7
|