Intro to trame
This course will introduce trame and go over the basics (reactive state, method calls, custom-widgets, from vue to Python syntax). We’ll cover VTK and ParaView in the context of trame. Then we’ll explore the various deployment options from a single code base (local, desktop, jupyter, cloud, ondemand). Finally we’ll leave 30 minutes for open questions.
Objectives
- What is it? How does it work?
- Where to find information and documentation?
- Diving into trame and how it works with VTK
- Understanding the syntax and how to match web documentation to trame Python
- The goto project structure
- Trame with pvpython vs regular Python
- Desktop, jupyter, cloud, onDemand
Prerequisites
- Reasonable Python Background
- HTML/CSS knowledge would be a plus but not required.
Agenda
This course is approximately 4 hours, which can be divided into 1 session.
Introduction (15m)
- What is it?
- How does it work?
Getting started (5m)
- Where to find information and documentation
Trame and VTK (1h)
- Diving into trame and how it works with VTK
Cheat sheets (10m)
- Understanding the syntax and how to match web documentation to trame Python
BREAK (20m)
Cookiecutter (30m)
- The goto project structure
ParaView specificity (10m)
- Trame with pvpython vs regular Python
Deployment (50m)
- Desktop, jupyter, cloud, onDemand
Questions (30m)