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.8.0 releases with Machinome 0.8.0 and is numbered with it. It declares viewer API 29 and reads document versions 1–13; over 0.7 it tells a host where any part stands on screen, highlights parts, takes an up direction and field of view per view, and captures a clocked machine on demand. 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 licensed separately, as its own manual states. 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.8.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.

Metadata

Release files for machinome-viewer 0.8.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.8.0
File Size Uploaded Provenance Actions
machinome_viewer-0.8.0.tar.gz 1.6 MB Without provenance Details for machinome_viewer-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 1.9 MB

Release files / machinome_viewer-0.8.0.tar.gz

Download URL machinome_viewer-0.8.0.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
02feec0891b9591f32188a8daafc828aafccfa9679afbd61e2997ee2448033fd
BLAKE2b-256 checksum
How to use checksums
3b2e57b144c889be64b8e98d7360211c085c1fa513c31f11f3b94a1029e8a42a
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.8.0-py3-none-any.whl

Download URL machinome_viewer-0.8.0-py3-none-any.whl
Size 301.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0c332da5de0d3920b63cd6142f8f211472cbd992c8f513d2d25d7beb17b0a838
BLAKE2b-256 checksum
How to use checksums
2d15d9fa34fdc12bb5ab82520716955240b2b6df8ff548a22496d15a55a28843
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for machinome-viewer 0.8.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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