Skip to main content

proofroot

Language-neutral trust core for reproducible simulation. Zero dependencies, zero domain semantics.

Install and use

Requires Python 3.12 or newer.

python -m pip install proofroot
import random

from proofroot import EVIDENCECORE_RNG_V1, RngBank, canonical_bytes

bank = RngBank(
    root_seed=42,
    names=["mutation", "selection"],
    rng_strategy=EVIDENCECORE_RNG_V1,
    stream_factory=random.Random,
)
mutation_rng = bank.rng_stream("mutation")
print(bank.stream_seeds())
print(mutation_rng.random())
print(canonical_bytes({"answer": 42}))

Everything every simulation community needs and none of what any single one wants to own: named RNG stream seed derivation (evidencecore-rng-v1), bank semantics invariants (declared streams, lowercase normalization, forward-only), run phases, evidence tier vocabulary (exploration / confirmatory / unknown — missing fields default to unknown, never to confirmatory), and a canonical serialization spec (RFC 8785 structural rules; IEEE754 bit-pattern float comparison) with cross-language test vectors.

Charter boundary (frozen): the cross-language contract ends at the derived seed. Seed derivation is byte-defined over SHA-256 and portable; random sequences depend on the host generator (Julia's Xoshiro, Python's choice) and are recorded in the run manifest, not standardized.

Oracle: EvidenceCore.jl in the ParaLife monorepo is the frozen oracle generating this package's cross-language test vectors. ParaLife's legacy compatibility layers (legacy encodings, UPPER-CASE phase spellings) are deliberately not ported here.

Design rationale: proposal §5.10.

Metadata

Release files for proofroot 0.1.5

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

Source distribution (sdist)

Source distribution for proofroot 0.1.5
File Size Uploaded
proofroot-0.1.5.tar.gz 18.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for proofroot 0.1.5
File Interpreter ABI Platform
proofroot-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 34.0 kB

Release files / proofroot-0.1.5.tar.gz

Download URL proofroot-0.1.5.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
fdcc397031a5845504be4c82dacf52f5d8c0c02c0d94f26b349dfd5e048144ef
BLAKE2b-256 checksum
How to use checksums
185151f9eba8ec1b1af02d2cc037eaca6566b51cd71b118c30b01ad8e84e8506
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / proofroot-0.1.5-py3-none-any.whl

Download URL proofroot-0.1.5-py3-none-any.whl
Size 15.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
318037615f9aed37c8b61bf07038c0177b1d389fd1b56caf06d83063d468a63d
BLAKE2b-256 checksum
How to use checksums
0374289c96c0c605adaf9b339d0369b2272efdb38854b1f1763fe2ba1c4c0598
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

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