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 covers 4 hours of material, which can be divided into shorter sessions around your availability.
Our Recommendation: For onsite courses, we recommend either one 4-hour day of instruction or two 2-hour sessions on consecutive days. For an online course, we can accommodate a variety of schedules, including one 4-hour day, or 2-hour sessions held on two consecutive days.
Introduction
- What is it?
- How does it work?
Getting started
- Where to find information and documentation
Trame and VTK
- Diving into trame and how it works with VTK
Cheat sheets
- Understanding the syntax and how to match web documentation to trame Python
Cookiecutter
- The goto project structure
ParaView specificity
- Trame with pvpython vs regular Python
Deployment
- Desktop, jupyter, cloud, onDemand
Questions
test