tracereports (Python client)
🌐 English · Español
Client for the TraceReports server. Standard library only.
pip install tracereports
pytest --tracereports # reports your pytest suite with no code changes
- pytest plugin: steps, screenshots, network and DOM with pytest-playwright, the browser console, and pytest-xdist workers merged into one run. Also a client API for unittest, Selenium or scripts.
- Selenium (Chrome, Edge): create the driver with
selenium_options(options)and the plugin also sends each test's network (Network tab, Lab), console, screenshot and DOM (Selenium guide). - Never slows down or breaks your tests: evidence goes out in the background with retries and no duplicates; whatever could not be sent can be saved and resent later.
- Without a server: if the server is down or rejects the token, the run is recorded locally;
tracereports report <folder>builds the HTML report andtracereports push <folder>uploads it later. WithTRACEREPORTS_OFFLINE=bothit also keeps that local copy while sending to the server (local report guide). - Configuration from the environment or the project's
.env(TRACEREPORTS_URL,TRACEREPORTS_TOKEN,TRACEREPORTS_TIMEOUT,TRACEREPORTS_RUN_TIMEOUT…). A slow server is retried with the sameIdempotency-Key(never a second run); a down one switches to local recording at once.
Full documentation: docs/en/python.md.
Without an installed binary, closing downloads and verifies the v0.2.0 renderer in the user cache; TRACEREPORTS_BIN_DOWNLOAD=0 supports offline use with an installed or cached binary. See offline mode.
Pages for the Inspector
TRACEREPORTS_DOM_STEPS=1: keeps the page of every step of every test, also the ones that pass.TRACEREPORTS_DOM_STEPS=on-problem: only of the ones that fail or have a WARNING (and a comparison baseline of the passing ones every 7 days).TRACEREPORTS_DOM_ON=fail,warningdoes not limit the above: it only adds the page of each WARNING.TRACEREPORTS_DOM_MODE=html(optional; defaultstructure): also sends the page's HTML and its style sheets, so the Inspector draws the real page with its CSS in an isolated iframe.
Metadata
Release files for tracereports 0.6.0
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 |
|---|---|---|---|---|
| tracereports-0.6.0.tar.gz | 108.1 kB | With provenance | Details for tracereports-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tracereports-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for tracereports-0.6.0-py3-none-any.whl |
Total release size: 178.1 kB
Release files / tracereports-0.6.0.tar.gz
| Download URL | tracereports-0.6.0.tar.gz |
|---|---|
| Size | 108.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
85436ffabb2eb69c2908e21ab73bb9c1dc6e2a33d66daee32f8753004a5d1267
|
|
BLAKE2b-256 checksum How to use checksums |
dcdd2fb5e156de696e6ba0f16bda37221752f4ac65aceadf9001067d683419e9
|
| 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 13, 2026.
Transparency logRelease files / tracereports-0.6.0-py3-none-any.whl
| Download URL | tracereports-0.6.0-py3-none-any.whl |
|---|---|
| Size | 70.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7ca8b8fe1bcedd594da3da38abab1136039b986a4d64549f049f92eeea49c162
|
|
BLAKE2b-256 checksum How to use checksums |
020eb94858a2e26e561361f0acefa7a456c0fa95749fa37647610a063f92f386
|
| 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 13, 2026.
Transparency logSecurity for tracereports 0.6.0
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
Both files in this release have been uploaded with provenance metadata.
Attestation for tracereports-0.6.0.tar.gz
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 13, 2026.
Transparency logA 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.