Skip to main content

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

p.report()

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: str
  • mode: str
  • duration: int
  • label: str | None

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

automaze_proof-0.20260803.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

automaze_proof-0.20260803.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file automaze_proof-0.20260803.0.tar.gz.

File metadata

  • Download URL: automaze_proof-0.20260803.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for automaze_proof-0.20260803.0.tar.gz
Algorithm Hash digest
SHA256 68d64f383eae2cceb05fc3fdaec5e1f3b206e42e4462ab6d936fd257bccc6419
MD5 9060c4d92f6f578b479b3d18e94429b1
BLAKE2b-256 c100c993f409418645174910832348264c8ed2a282013f5d9c7d87ce0909741f

See more details on using hashes here.

File details

Details for the file automaze_proof-0.20260803.0-py3-none-any.whl.

File metadata

File hashes

Hashes for automaze_proof-0.20260803.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c2f2d25d66afeaebba686137760cf86c5e9a704d77c53559858a3d165e889abe
MD5 a92832e2565de37efad441f9e3581782
BLAKE2b-256 db6c2d9e51ec2f76ad42c4fa6395b6c9afe0eef409972b62b7299a91dc341877

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page