Skip to main content

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:

  1. Create a project-scoped API token in PyPI and save it in this repository as PYPI_API_TOKEN.
  2. Keep the Git tag aligned with [project].version in pyproject.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.

Metadata

Release files for sightsee 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sightsee 0.4.0
File Size Uploaded
sightsee-0.4.0.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sightsee 0.4.0
File Interpreter ABI Platform
sightsee-0.4.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.2 kB

Release files / sightsee-0.4.0.tar.gz

Download URL sightsee-0.4.0.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d8f0880d45607184e9a14410deaf5bbddd4d68743824a078f2a46f31182628c0
BLAKE2b-256 checksum
How to use checksums
bfca19ccb624c268ef52f30c013568d9977a13e955826ce28c3ad8364e3d8081
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / sightsee-0.4.0-py3-none-any.whl

Download URL sightsee-0.4.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ca440077fe3102dd88d93ece64aba81ec4984c68653768c7c76dc4b31502f870
BLAKE2b-256 checksum
How to use checksums
6581987af2b703a87c833a0342040ec014c7dbe694d9ab059b0e88512d827d27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page