Introducing Shiny for Python Templates | Carson Sievert | Posit
Posit PBC Posit PBC
39.5K subscribers
4,642 views
105

 Published On Apr 4, 2024

Last month we introduced the Shiny for Python Components and Layouts galleries, which are a simple, visual overview of what Shiny can do, mixed with cheatsheet-like information. They are for new and seasoned users alike.

We’re excited to announce a third section which brings those two things together into opinionated boilerplate code: Shiny Templates. This is just a start… We expect this gallery to grow as time goes on.

These will allow you to hit the ground running, whether you need a quick simple app or a quick complicated one 🙂.

Get started at https://shiny.posit.co/py/templates/

0:00 Introduction to Shiny for Python Templates
0:38 How to work with a template locally in VS Code
2:24 Preview your app with the Shiny for Python VS Code Extension
2:45 A data_frame is a quick and easy way to see the contents of your data
4:39 See everything in your window with the “fillable=True” page_opts
5:16 Modifying inputs
7:40 Fix the logic in your @render.plot to show your modified inputs
9:00 Add a component to the sidebar
9:05 How to add input_dark_mode to your app
9:54 How to make your plot change to dark mode as well

show more

Share/Embed