skillfed

trame-vtk

VTK widgets for trame

trame-vtk v2.11.16 980.7K downloads/30d#4,589 on PyPI
Permissive license BSD License Active released

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-vtk

uv

uv add trame-vtk

poetry

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

Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules

Tags

vtk visualization web widgetsparaview trame integration3d rendering web frameworkvtk remote renderinginteractive 3d visualization pythonvtk.js client renderingscientific visualization web app
3d-visualizationscientific-computingweb-framework

More Python Modules packages