Skip to main content

speedrunpapi for Python

Output-determinism analysis for Circom circuits and R1CS. This package installs the same bundled command-line tool as the npm distribution, plus an independent Python checker for its reports.

pip install speedrunpapi
speedrunpapi scan circuit.circom
speedrunpapi scan circuit.circom --report circuit.report.json
python -m speedrunpapi.verifiers.determinism circuit.r1cs circuit.report.json

The scanner needs Node.js 20 or later on PATH, and the circom compiler for .circom input. The checker (speedrunpapi.verifiers.determinism) needs only the Python standard library: it parses the R1CS itself and replays the derivation or re-evaluates the counterexample without the scanner.

Full documentation: https://github.com/lmtlssss/speedrunpapi

Versions before 0.7.1 classified sources by template name and keyword and could report Certified for a circuit whose outputs were unconstrained. Those results were not proofs. If you relied on one, scan again.

pip install 'speedrunpapi[onnx]' adds the dependencies of the separate ONNX checker used by the hosted optimization jobs.

Metadata

Release files for speedrunpapi 0.7.1

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

Built distribution (wheel)

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

Release files / speedrunpapi-0.7.1-py3-none-any.whl

Download URL speedrunpapi-0.7.1-py3-none-any.whl
Size 235.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
22fe8ea2ec36eeb6bfa58d6ccf750298f0df35ba427fd332d5e62beec0e1a451
BLAKE2b-256 checksum
How to use checksums
bfdb7e33799bee3884274a69920f2e50e320becf669fb12b0749d2de2c123ae1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Security for speedrunpapi 0.7.1

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.

Full provenance

1 file in this release has been uploaded with provenance metadata.

Attestation for speedrunpapi-0.7.1-py3-none-any.whl

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 Nov 11, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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