Skip to main content

hexarchproof-sdk (Python)

Python SDK for Hexarch Deterministic Reproduction Proofs (DRP).

Same input → same hash → same proof — anchored for independent verification.

Install

pip install hexarchproof-sdk

Usage

from hexarchproof import build_proof, verify_proof, sha256_hex_string, sha256_hex_json

hash_val = sha256_hex_string('my payload')
json_hash = sha256_hex_json({'b': 2, 'a': 1})

proof = build_proof(
    {'input': 'my deterministic payload'},
    {'type': 'hexarch.text-proof', 'version': '1'},
    {'output': 'my deterministic payload'},
)
# proof['schema_version'] == 'drp.v1'

result = verify_proof(
    proof,
    {'input': 'my deterministic payload'},
    {'type': 'hexarch.text-proof', 'version': '1'},
    {'output': 'my deterministic payload'},
)
# result.valid == True

Links

Release files for hexarchproof-sdk 0.0.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 hexarchproof-sdk 0.0.2
File Size Uploaded
hexarchproof_sdk-0.0.2.tar.gz 3.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hexarchproof-sdk 0.0.2
File Interpreter ABI Platform
hexarchproof_sdk-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 6.8 kB

Release files / hexarchproof_sdk-0.0.2.tar.gz

Download URL hexarchproof_sdk-0.0.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f16316a4950b55657b3c595ff25516d3d3a62faa8f5f0c74a750deae534d7845
BLAKE2b-256 checksum
How to use checksums
21ff820de99a53cf881e700fab96ea199b96788e3791a506ed4d7113d602024d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release files / hexarchproof_sdk-0.0.2-py3-none-any.whl

Download URL hexarchproof_sdk-0.0.2-py3-none-any.whl
Size 3.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8abf18a5d136661d676b7913122914e97c6fe20c40348db352a38c332361ed67
BLAKE2b-256 checksum
How to use checksums
f252fe10acee8c4ccf367b709d10d1614561fdae05ca5e12159fb12fab1e83c3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.13

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

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