--- id: trame version: "3.13.2" license: Apache License 2.0 license_treatment: permissive maintenance: active --- # trame — Trame, a framework to build applications in plain Python License: permissive · Maintenance: active · Downloads: 922.9K/mo ## What it is and what it does Trame is a Python web framework designed to let developers build interactive visual analytics applications without writing HTML, CSS, or JavaScript. It integrates VTK and ParaView for 3D visualization, combines them with UI libraries like Vuetify and Altair for charts and dashboards, and handles all the web infrastructure automatically. The framework synchronizes state between Python backend and browser frontend, letting you write the entire application in Python. Applications built with trame run as local desktop apps or remote cloud services, both accessed through a browser. The framework abstracts away web development complexity so developers can focus on data, analysis, and visualization logic. It supports lifecycle callbacks for server and client events, shared state management, and environment variable configuration for network behavior and message sizing. Use it for: - Build interactive 3D scientific visualization dashboards combining VTK/ParaView rendering with Python analysis - Create data exploration tools that sync Python computations with live browser-based charts and controls - Deploy desktop or cloud-hosted visual analytics applications without learning web frameworks - Integrate existing Python libraries (NumPy, SciPy, pandas) into interactive web UIs for data-driven workflows - Develop remote visualization applications accessible via browser from any machine ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Trame is a Python web framework for building interactive visual analytics applications that combine 3D visualization, data analysis, and web UI components into a single browser-based or desktop application. Yes. Trame is actively maintained, production-stable, has low install friction, carries no known vulnerabilities, and solves a real problem—letting Python developers build sophisticated interactive web applications without web development expertise. It's well-suited if you need 3D visualization, data dashboards, or scientific computing UIs. The permissive Apache 2.0 license poses no restrictions. Consider it essential if your workflow involves VTK/ParaView or visual analytics. ## Install pip install trame uv add trame poetry add trame ## Installing trame Before you install: Installation is straightforward via pip with low friction. The package is actively maintained, last released 91 days ago, and marked as Production/Stable. Five runtime dependencies (trame-server, trame-client, trame-common, wslink, pyyaml) are all part of the trame ecosystem or well-established libraries. License in practice: Trame is licensed under Apache License 2.0, a permissive open-source license. You can use, modify, and distribute it freely in both open-source and commercial projects, provided you include a copy of the license and state significant changes. Quickstart: pip install --upgrade trame from trame.app import Trame from trame.widgets import html app = Trame() with app.layout: html.div("Hello from trame") app.run() Requires Python 3.10 or later. Desktop mode (--app) requires optional pywebview dependency; Jupyter integration requires jupyterlab or notebook. Verify before relying: - Whether VTK and ParaView integration is included in the base package or requires separate installation - Performance characteristics and scalability limits for large 3D datasets or concurrent users - Specific browser compatibility and minimum versions required for full functionality ## Package facts - License: Apache License 2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 922.9K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags python web framework visualization, interactive 3d web applications, vtk paraview python web, visual analytics framework, python data visualization dashboard, browser-based 3d viewer, web ui for scientific computing, 3d-visualization, web-framework, scientific-computing [View on SkillFed](https://skillfed.io/packages/trame) · [View on PyPI](https://pypi.org/project/trame/)