--- id: trame-vtk version: "2.11.16" license: BSD License license_treatment: permissive maintenance: active --- # trame-vtk — VTK widgets for trame License: permissive · Maintenance: active · Downloads: 980.7K/mo ## 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 above — 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 pip install trame-vtk uv add trame-vtk poetry add trame-vtk ## Installing 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_current - Install friction: low - Maintenance: active - Downloads: 980.7K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags vtk visualization web widgets, paraview trame integration, 3d rendering web framework, vtk remote rendering, interactive 3d visualization python, vtk.js client rendering, scientific visualization web app, 3d-visualization, scientific-computing, web-framework [View on SkillFed](https://skillfed.io/packages/trame-vtk) · [View on PyPI](https://pypi.org/project/trame-vtk/)