Model viewer wrapper around Netron.
Project description
Sightsee
Sightsee is a thin CLI wrapper around netron for opening model files in a browser.
The repository is managed through pyproject.toml and uv.
Development
uv sync --group dev
uv run pytest -q
Release to PyPI
This repository publishes from GitHub Actions using PyPI API tokens.
One-time setup:
- Create a project-scoped API token in PyPI and save it in this repository as
PYPI_API_TOKEN. - Keep the Git tag aligned with
[project].versioninpyproject.toml.
Release flow:
git push origin main
Then create and publish a GitHub release using a v* tag. Publishing the release runs tests, builds the wheel and
sdist, checks that the tag matches the package version, then uploads dist/ to PyPI. For example, project version
0.4.0 must use release tag v0.4.0.
Usage
By default, Sightsee auto-detects the current server IPv4 address for binding by probing the active network interfaces.
If detection fails, it falls back to Netron's localhost behavior. You can override this with --host or the
SIGHTSEE_HOST environment variable.
At startup, Sightsee prints a clear Access URL: line with the final address to open.
uv run sightsee path/to/model.onnx
Useful options:
uv run sightsee --browse path/to/model.onnx
uv run sightsee --host auto path/to/model.onnx
uv run sightsee --host 0.0.0.0 --port 8080 path/to/model.onnx
SIGHTSEE_HOST=10.10.0.5 uv run sightsee path/to/model.onnx
uv run sightsee path/to/model.axmodel
uv run sightsee --as-onnx path/to/model.plan
Sightsee treats .axmodel files as ONNX-compatible by default. For other ONNX-compatible files without a .onnx
suffix, --as-onnx keeps the original file path for loading, but forces Netron to treat the input as an ONNX model.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sightsee-0.4.0.tar.gz.
File metadata
- Download URL: sightsee-0.4.0.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8f0880d45607184e9a14410deaf5bbddd4d68743824a078f2a46f31182628c0
|
|
| MD5 |
df347ce4db4374a606f0fb66264afd6e
|
|
| BLAKE2b-256 |
bfca19ccb624c268ef52f30c013568d9977a13e955826ce28c3ad8364e3d8081
|
File details
Details for the file sightsee-0.4.0-py3-none-any.whl.
File metadata
- Download URL: sightsee-0.4.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca440077fe3102dd88d93ece64aba81ec4984c68653768c7c76dc4b31502f870
|
|
| MD5 |
91bcf094cc96066deabfdb47715add90
|
|
| BLAKE2b-256 |
6581987af2b703a87c833a0342040ec014c7dbe694d9ab059b0e88512d827d27
|