Skip to main content

Machinome Viewer

CI

The browser viewer for the Machinome framework: inspect an assembly, operate its declared inputs, and watch its mechanical relationships work. The same viewer powers the development page, portable exports, custom embeds and headless snapshots.

Read the user manual · Installation · Embedding · API and CLI reference

Version 0.7.0 releases with Machinome 0.7.0 and is numbered with it. It declares viewer API 27 and reads document versions 1–13. The widget is not published on npm; it ships inside the Python distribution.

For makers

Machinome authors and builds the machine. The viewer opens its published document in a WebGL-capable browser, with camera, assembly navigation and the controls appropriate to a posed, running or clocked model. A reader of a static export needs no Python, Node.js or CAD installation.

Install it with the framework: pip install "machinome[viewer]". Built distributions carry the bundle and install without npm; the Python package needs Python 3.11+. To work on the viewer source, build the bundle first (Node.js 22+) and install the checkout into the same environment as the framework:

npm ci --prefix machinome_viewer/widget
npm run build --prefix machinome_viewer/widget
python -m pip install -e .
machinome-viewer describe

See the manual's installation guide before configuring snapshots or opening a project.

For embedding hosts

Serve the exported page in an iframe, or load machinome-viewer.js and call MachinomeViewer.mount(target, documentUrl, options). Use mountInspector() for a viewer with a collapsible assembly sidebar. The manual includes a working example and every public mount option and handle operation.

The process interface is machinome-viewer describe|serve|capture, also available as python -m machinome_viewer. The machinome.viewer entry point provides only the bundle lookup. The viewer does not import or depend on the framework; serving and capture are separate processes.

License and development

This package and its browser bundle are AGPL-3.0-or-later; the framework is Apache-2.0. Keep the bundle's source/license and dependency notices intact. See LICENSE and CHANGELOG.md.

User documentation lives in docs/. Build/hosting instructions and review evidence belong in workflow/; accepted decisions remain in workflow/adrs/, and the release-preparation record is workflow/release-0.7.md. OpenSpec requirements and changes remain in openspec/.

For a local manual preview, follow workflow/documentation.md. Tests use the committed exports under tests/fixtures/, without importing the framework. Run npm test --prefix machinome_viewer/widget, npm run typecheck --prefix machinome_viewer/widget and python -m pytest in an environment with the development dependencies. scripts/check-dist builds and smoke-tests distributions and uploads nothing.

Release files for machinome-viewer 0.7.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 machinome-viewer 0.7.0
File Size Uploaded
machinome_viewer-0.7.0.tar.gz 1.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for machinome-viewer 0.7.0
File Interpreter ABI Platform
machinome_viewer-0.7.0-py3-none-any.whl Python 3 none any Details

Total release size: 1.8 MB

Release files / machinome_viewer-0.7.0.tar.gz

Download URL machinome_viewer-0.7.0.tar.gz
Size 1.5 MB
Tags Source
SHA-256 checksum
How to use checksums
99dca0ac48a97dc8286cb0cddf2e4d18a8c0b8399dc2cce18a3adf1558d3353e
BLAKE2b-256 checksum
How to use checksums
a265568a4ed5bc26d3357a665339a0a247fa2a730631867aa88d57c1cf379248
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / machinome_viewer-0.7.0-py3-none-any.whl

Download URL machinome_viewer-0.7.0-py3-none-any.whl
Size 298.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fabdabe63b44d58bb485b02da25ff65663203c62b55088e841acae1b7daceb12
BLAKE2b-256 checksum
How to use checksums
528ae09a62b9a58d6a706703604052c4ae7a0b63a97025f6d73423774dfe451a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.7.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