This release is a pre-release and may not be stable for production use.
omle-viewer (Python)
Jupyter display integration and browser CLI for OMLE models — renders the interactive DAG viewer inline in a notebook cell or opens it in the default browser.
Works in JupyterLab, Jupyter Notebook, VS Code notebooks, and Google Colab with no widget extensions required.
Setup
1. Build the viewer bundle
cd omle-viewer
./build.sh
This builds a self-contained viewer.html (all JS/CSS inlined) and places it in the package's static/ directory. Re-run whenever the viewer source changes.
2. Install the package
pip install -e omle-viewer/python/
For protobuf (.omle) support:
pip install -e "omle-viewer/python/[proto]"
CLI
Open any model file directly in the browser:
omle-viewer model.json
omle-viewer model.omle
Jupyter usage
Import omle_viewer once per session. After that, returning any OMLEModel from a cell renders the interactive diagram automatically:
import omle_viewer
from omle.ir.model import OMLEModel
model = OMLEModel(...)
model # ← renders the DAG viewer inline, no show() needed
Custom height or live-update handle
from omle_viewer import show
w = show(model, height=700)
# In another cell, display an updated model in place:
w.update(updated_model)
Open in browser from Python
from omle_viewer import show_in_browser
show_in_browser(model)
Release files for omle-viewer 0.1.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| omle_viewer-0.1.0rc1.tar.gz | 173.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| omle_viewer-0.1.0rc1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 343.8 kB
Release files / omle_viewer-0.1.0rc1.tar.gz
| Download URL | omle_viewer-0.1.0rc1.tar.gz |
|---|---|
| Size | 173.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4725c54806542e86f1ce54502f3ca23bbb09f54bae768c9e0c0764711db9b8a1
|
|
BLAKE2b-256 checksum How to use checksums |
cf306262db63a9c2a1a348c1d82c890a83e4a5880fbc2de03a1faec77c8475f8
|
| 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 Sep 20, 2026.
Transparency logRelease files / omle_viewer-0.1.0rc1-py3-none-any.whl
| Download URL | omle_viewer-0.1.0rc1-py3-none-any.whl |
|---|---|
| Size | 170.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9b2002f65c2c23bbc0138bce853893bf19b79d40ef1197fce7668eef75837305
|
|
BLAKE2b-256 checksum How to use checksums |
46db305dc3406fabab06443d324df8891b6455bc9ecf3d14de8429171b7a17a3
|
| 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 Sep 20, 2026.
Transparency log