Metadata-Version: 2.4
Name: hexarchproof-sdk
Version: 0.0.2
Summary: Python SDK for Hexarch Deterministic Reproduction Proofs (DRP). Same input → same hash → same proof, anchored for independent verification.
Author-email: Noir Stack LLC <info@noirstack.com>
License: MIT
Project-URL: Homepage, https://hexarch.systems/
Project-URL: Repository, https://github.com/no1rstack/hexarchproof-sdk
Project-URL: Bug Tracker, https://noirstack.com/support
Keywords: hexarch,drp,deterministic,reproducibility,verifiable-compute,proof,auditability,noirstack,canonical-json,sha256
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Security :: Cryptography
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Description-Content-Type: text/markdown
Requires-Dist: canonicaljson>=2.0.0

# hexarchproof-sdk (Python)

Python SDK for **Hexarch Deterministic Reproduction Proofs (DRP)**.

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

## Install

```bash
pip install hexarchproof-sdk
```

## Usage

```python
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

- Hexarch Domain: https://hexarch.systems/
- Discord: https://discord.gg/DZysBQJQ
