trame-vtk
VTK widgets for trame
What it is and what it does
trame-vtk extends the trame web framework with VTK and ParaView visualization components, letting you build interactive 3D data processing and rendering applications in Python. It provides two main rendering strategies: VtkRemoteView, which performs rendering on the server and streams images to the client for low-latency interaction, and VtkLocalView, which sends only geometry to the client and uses vtk.js for client-side rendering, eliminating the need for server-side GPU hardware.
The package integrates directly with VTK's Python API, allowing you to bind Python methods to vtk.js interactor events and control rendering quality, image scaling, and camera interaction through configurable settings. Both components work with the same vtkRenderWindow, so you can switch rendering strategies without rewriting application logic.
Use it for:
- Build web-based scientific visualization dashboards that render 3D volumetric or mesh data without requiring client-side VTK installation
- Create interactive ParaView-compatible applications where users manipulate 3D scenes through a browser interface
- Develop data processing pipelines that combine VTK's computational capabilities with web-based UI for real-time visualization feedback
- Deploy GPU-free visualization services using client-side rendering (VtkLocalView) to reduce server infrastructure costs
- Build immersive VR/XR applications leveraging WebXR support for 3D scene interaction in headsets
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides VTK and ParaView visualization widgets for trame, enabling both server-side remote rendering and client-side local rendering of 3D scenes in web applications.
Yes. trame-vtk is actively maintained, carries no known vulnerabilities, has low install friction, and is licensed permissively. Install it if you need to expose VTK or ParaView visualizations through a web interface with flexible rendering strategies (server-side or client-side). The choice between VtkRemoteView and VtkLocalView lets you trade off latency, server resources, and client capability based on your deployment constraints.
Install
trame-vtk on PyPI
pip
pip install trame-vtkuv
uv add trame-vtkpoetry
poetry add trame-vtkInstalling trame-vtk
Before you install
Low install friction with a single runtime dependency (trame-client). Package is actively maintained with recent releases and carries Production/Stable status.
License in practice
BSD License (permissive) chosen to match VTK and ParaView licensing, allowing commercial and private use with minimal restrictions.
Quickstart
pip install trame-vtk
from trame.widgets import vtk
remote_view = vtk.vtkRemoteView(
view=vtkRenderWindow_instance,
interactive_quality=60,
interactive_ratio=0.5
)
remote_view.update()
Requires Python 3.9 or later; VTK library must be installed separately to create vtkRenderWindow instances.
Verify before relying
- Whether VTK is bundled or must be installed as a separate system/pip dependency
- Performance characteristics for large datasets or high-frequency scene updates
- WebXR support details beyond the mention of VtkWebXRHelper component
Package facts
| License | BSD License (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — trame-client |
| Maintenance | actively maintained — 0 days since the last release |
| First released | |
| Downloads | 980,673/month — #4,589 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: trame_vtk-2.11.16-py3-none-any.whl
Keywords: Application, Framework, Interactive, Python, Web
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
pyevtkExports scientific data to binary VTK files for…
permissive · top 15,000 on PyPI
trameTrame is a Python web framework for building…
permissive · top 5,000 on PyPI
vtkVTK is a 3D graphics, image processing, and…
permissive · top 5,000 on PyPI
trame-clienttrame-client is the browser-side runtime for…
permissive · top 5,000 on PyPI
trame-componentsProvides Vue.js utility widgets and helper…
permissive · top 15,000 on PyPI
trame-vuetifyProvides Material Design UI components…
permissive · top 5,000 on PyPI
trame-servertrame-server provides the server-side runtime…
permissive · top 5,000 on PyPI
trame-routerAdds multi-page navigation to trame…
permissive · top 15,000 on PyPI
pyvistaqtPyVistaQt integrates VTK 3D visualization with…
permissive · top 15,000 on PyPI
pyvistaPyVista provides a NumPy-native API for 3D…
permissive · top 5,000 on PyPI