Build Simple and Scalable Apps with Shiny
11-02, 16:05–16:45 (America/New_York), Central Park West (Room 6501)

This talk explores the intuitive algorithm behind Shiny for Python and shows how it allows you to scale your apps from prototype to product. Shiny infers a reactive computation graph from your application and uses this graph to efficiently re-render components. This eliminates the need for data caching, state management, or callback functions which lets you build scalable applications quickly.


The main obstacle to building good data communication products is that it’s difficult to predict how complex they will need to be in order to effectively transmit the value and limitations of your analysis. While you need to build the initial prototype very quickly, those prototypes often grow in scope to become large, mission-critical applications. It’s hard to find an application framework that allows your app to grow smoothly as its requirements increase.

Shiny for Python is ideal for building these applications because it does two main things. First, it uses a reactive computation graph to minimally re-render components. This means that you can build large applications which nevertheless run quickly and scale well. Second, Shiny infers this graph from your application, which means that you don’t usually need to manually cache data, manage state, or write callback functions. While this inference can seem like magic, it’s based on a simple and intuitive algorithm that lets your apps scale from prototype to product. This talk goes through the details of that algorithm to show why it’s the best way to build modern data science applications.


Prior Knowledge Expected

No previous knowledge expected

Gordon is a Software Engineer at Posit PBC where he works on Shiny for Python. He has ten years of experience building data science applications in various industries, and most recently was a Lead Data Scientist at Socure where he was responsible for data science tooling.

Tracy Teal is the Open Source Program Director at Posit Software, PBC. Previously, she was a co-founder of Data Carpentry and the Executive Director of The Carpentries. She developed open source bioinformatics software as an assistant professor at Michigan State University and holds a PhD in computation and neural systems from California Institute of Technology. Tracy is involved in the open source software and reproducible research communities, and has been working with open source communities, developing curriculum, and teaching people how to work with data and code as a developer, instructor and project leader throughout her career.