VizControl
Observe what a Python program really does while it runs and explore it as an interactive, hierarchical graph. The graph comes from runtime evidence, not from a model's guess about the code.
pip install vizcontrol
vizcontrol run --serve app.py --flag # trace app.py, then open the run in the browser
vizcontrol run app.py --flag # or only write .vizcontrol/runs/<time>-app.vizc
pytest --vizcontrol # or: one trace per test
vizcontrol serve # explore the runs in the browser
vizcontrol diagram <run>.vizc # the run's stages as a Mermaid flowchart
vizcontrol diff <a>.vizc <b>.vizc # where two runs split and which results differ
Start with Understanding a project you didn't write,
or try vizcontrol run examples/pipeline.py --bad and vizcontrol serve.
The viewer goes from the whole project (a map of every run's route) down to stages, functions, calls and values; follows an object through the calls that touched it; and opens a failed run on its failure, with what a passing run reached and this one didn't.
import vizcontrol
with vizcontrol.trace("checkout") as run:
place_order(cart)
print(run.path)
For a web app, one run per request (FastAPI shown; WSGIMiddleware for Flask and Django):
from vizcontrol.web import ASGIMiddleware
app.add_middleware(ASGIMiddleware, every=1) # or only requests with an X-VizControl header
Requires Python 3.12+ (uses sys.monitoring). See docs/ for requirements and architecture.
Development
uv sync # Python package (editable) + pytest
uv run pytest
cd frontend && npm ci && npm run build # viewer -> src/vizcontrol/viewer/static
cd frontend && npm run e2e # drive the built viewer in headless Chrome
uv run python benchmarks/overhead.py
License
VizControl is free software, licensed under the GNU Affero General Public License v3.0 or later. © Datzin · contacto@datzin.com.mx
Metadata
Release files for vizcontrol 0.3.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 | |
|---|---|---|---|---|
| vizcontrol-0.3.0.tar.gz | 347.0 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vizcontrol-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.9 MB
Release files / vizcontrol-0.3.0.tar.gz
| Download URL | vizcontrol-0.3.0.tar.gz |
|---|---|
| Size | 347.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acef97a5c523dac38950ebfff400e71fe315ecd588a1903b9aa181de65bd69aa
|
|
BLAKE2b-256 checksum How to use checksums |
82de620e4ee37f4af105a4d1b1f5ba4e0338dd5aba034ea6b483a1765b9b702f
|
| 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 20, 2026.
Transparency logRelease files / vizcontrol-0.3.0-py3-none-any.whl
| Download URL | vizcontrol-0.3.0-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ddf1e911fa35504b177a61c671a1016e09085a3b19f3a40216fb12f76ef2faf
|
|
BLAKE2b-256 checksum How to use checksums |
3dc4fa8f6a031137af40aa69be569c2b51bcc5f63c71bb159b94a71e0c7d25ca
|
| 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 20, 2026.
Transparency logSecurity for vizcontrol 0.3.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for vizcontrol-0.3.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 Oct 20, 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.