naja-schematic (Python package)
Interactive schematic viewer for najaeda netlists: the naja-schematic WASM viewer, packaged with the Python backend that answers it from a live najaeda netlist.
pip install naja-schematic
In a notebook (Jupyter, Google Colab, VSCode)
from najaeda import netlist
import naja_schematic
netlist.load_primitives("xilinx")
top = netlist.load_verilog("design.v")
naja_schematic.show() # interactive view in the cell output
The view is answered from the netlist in the running kernel, so it shows
the design as the notebook has built or edited it so far; call show()
again after an edit for a fresh view. Diagnoses (e.g. from a formal
equivalence check) can be overlaid:
view = naja_schematic.show()
view.annotate([{"kind": "instance", "path": ["u_sub"], "severity": "error",
"message": "not equivalent", "source": "kepler-formal"}])
view
From a shell
naja-schematic --verilog design.v --liberty cells.lib --open
naja-schematic --sv top.sv --top top --diagnosis report.json --open
serves the viewer page and its WebSocket on http://localhost:8081/ and
opens it in a browser. --stdio speaks the same protocol as JSON lines on
stdin/stdout instead, for a host (e.g. an editor extension) that relays
messages itself. naja-schematic --help lists every option.
Development
The viewer bundle (naja_schematic/static/naja-schematic.js) is built from
the C++ sources, not checked in. From the repository root:
emcmake cmake -S . -B build-wasm-module -DCMAKE_BUILD_TYPE=Release -DNAJA_SCHEMATIC_WASM_MODULE=ON
cmake --build build-wasm-module
export NAJA_SCHEMATIC_BUNDLE=$PWD/build-wasm-module/naja-schematic.js # or copy it into static/
pip install -e "python[test]" && pytest python/tests
Releases are built and published by .github/workflows/python-package.yml
on a v<version> tag (e.g. v0.1.0).
Release files for naja-schematic 0.1.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 | |
|---|---|---|---|
| naja_schematic-0.1.1.tar.gz | 752.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| naja_schematic-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.5 MB
Release files / naja_schematic-0.1.1.tar.gz
| Download URL | naja_schematic-0.1.1.tar.gz |
|---|---|
| Size | 752.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c15d07ebf269a4f6b3b2821d25b579da04ab323683a1956b356b455dad72ca93
|
|
BLAKE2b-256 checksum How to use checksums |
3743d23ef22d649358be023dac5ac7f17b46c9b4d4d07e96c638c3b8ca70fa0c
|
| 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 26, 2026.
Transparency logRelease files / naja_schematic-0.1.1-py3-none-any.whl
| Download URL | naja_schematic-0.1.1-py3-none-any.whl |
|---|---|
| Size | 754.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0beb9dd11e6530abfe7a6810a68dfdbed43f0b2a535da88c12fc1f0e278cd72f
|
|
BLAKE2b-256 checksum How to use checksums |
5d43905401ac299d7dac0ad7b33202242353a9ff1b456ee69d44cbf0345e8dc6
|
| 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 26, 2026.
Transparency log