Kitware / trame

Trame lets you weave various components and technologies into a Web Application solely written in Python.
https://kitware.github.io/trame/
Other
429 stars 56 forks source link
3d data-visualization paraview plotting python3 trame trame-maintenance-program vtk web-ui

trame: simple, powerful, innovative

Trame is an easy-to-use, Python-based framework that let you create desktop like application which shows up in your web browser. You can create buttons, dialogs, 3D scenes with VTK/ParaView, charts, maps and much more.

It is great for any micro apps, dashboards, or even replacing a PyQt app into a web app. You can also use it in development, for example when tweaking/configuring 3D rendering, machine learning and more.

At the end your app can be used locally, remotely, in the cloud, in Jupyter or on HPC.

Trame is available as a PyPI package, on conda-forge and we provide docker images for cloud deployment.

If you need help don't hesitate to reach out

Test and Release PyPI PyPI - Downloads Conda - Downloads GitHub stars

trame - a web framework that weaves together open source components into customized visual analytics easily.

trame is French for

Welcome to trame and 3D visualization

With trame, create stunning, interactive web applications compactly and intuitively.

3D Visualization

With best-in-class VTK and ParaView platforms at its core, trame provides complete control of 3D visualizations and data movements. Developers benefit from a write-once environment while trame simply exposes both local and remote rendering through a single method.

Rich Features

trame leverages existing libraries and tools such as Vuetify, Altair, Vega, deck.gl, VTK, ParaView, and more, to create vivid content for visual analytics applications.

Problem Focused

By relying simply on Python, trame focuses on one's data and associated analysis and visualizations while hiding the complications of web app development.

Desktop to cloud

The resulting trame applications can act as local desktop applications or remote cloud applications both accessed through a browser.

Installing

trame can be installed with pip:

pip install --upgrade trame

Usage

The Trame Tutorial is the place to go to learn how to use the library and start building your own application.

The API Reference documentation provides API-level documentation.

License

trame is made available under the Apache License, Version 2.0. For more details, see LICENSE

Community

Trame | Discussions | Issues | RoadMap| Contact Us

DOI

Enjoying trame?

Share your experience with a testimonial or with a brand approval.

Optional dependencies

When installing trame using pip (pip install trame) you will get the core infrastructure for any trame application to work but more advanced usage may require additional dependencies. The list below captures what may need to add depending on your usage:

Environments variables

Life cycle callbacks

Life cycle events are directly managed on the application controller and are prefixed with on_*.

Reserved state entries

The shared state allow us to synchronize the server with the client. Rather than creating another mechanism to handle similar needs throughout the application we purposely reuse that state internally. To prevent any conflict with any user we are prefixing our internal variable with trame__*. In general those state values should not be use or changed by the user except for the one listed below:

Read/Write:

Read-only:

Professional Support

Training

Learn how to confidently use trame from the expert developers at Kitware.

Support

Our experts can assist your team as you build your web application and establish in-house expertise.

Custom Development

Leverage Kitware’s 25+ years of experience to quickly build your web application.