automaze-proof
Python SDK for proof -- capture visual evidence of test execution.
Thin wrapper around the proof CLI. Requires the binary on PATH.
Install
pip install automaze-proof
The proof binary must be installed separately:
curl -fsSL https://automaze.io/install/proof | sh
Usage
from proof import Proof
p = Proof(app_name="my-app", proof_dir="./evidence")
recording = p.capture(
command="pytest tests/ -v",
mode="terminal",
label="unit-tests",
)
print(recording.path) # /abs/path/unit-tests-143012.html
print(recording.duration) # 4300
print(recording.exit_code) # 0 (exit code of the wrapped command)
p.report()
# capture() records the run even when the command fails — gate on the code:
if recording.exit_code != 0:
raise SystemExit(recording.exit_code)
pytest fixture
# conftest.py
import pytest
from proof import Proof
@pytest.fixture(scope="session", autouse=True)
def proof_session():
p = Proof(app_name="my-app", proof_dir="./evidence")
yield p
p.report()
API
Proof(app_name, proof_dir=None, run=None, description=None)
proof.capture(command, mode="terminal", label=None, description=None) -> Recording
proof.report(format=None) -> str | list[str]
Recording (dataclass)
path: strmode: strduration: intlabel: str | Noneexit_code: int | None— wrapped command's exit code (0 = success;Noneonly from a proof CLI predating this field)
Metadata
Release files for automaze-proof 0.20260803.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| automaze_proof-0.20260803.1.tar.gz | 4.6 kB | Without provenance | Details for automaze_proof-0.20260803.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| automaze_proof-0.20260803.1-py3-none-any.whl | Python 3 | none | any | Details for automaze_proof-0.20260803.1-py3-none-any.whl |
Total release size: 8.3 kB
Release files / automaze_proof-0.20260803.1.tar.gz
| Download URL | automaze_proof-0.20260803.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36d3e2e0f540d3e4607a40de3454eb5d5f23cdb7f9624e3c9cef6aeabb3147ac
|
|
BLAKE2b-256 checksum How to use checksums |
e5075d35a2f8f53b2cd529f1236356530f764520d7e0901c106a4195ab40fbcc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / automaze_proof-0.20260803.1-py3-none-any.whl
| Download URL | automaze_proof-0.20260803.1-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31fa3314400d06867cd2a5c576fecfdf5de16fc81b40a89fd7aa27a06ad78ccf
|
|
BLAKE2b-256 checksum How to use checksums |
f6d4159502303a06e718a65171b3e294d3f589fa622be93bf739b09928d856b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for automaze-proof 0.20260803.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.