Shiny is a framework that makes it easy to build interactive web applications without requiring traditional web development skills. Since its introduction ten years ago for R, Shiny has made it possible for R users to communicate with a much broader audience—and now Shiny is available for Python! Python users can now use Shiny to create interactive data-driven web applications by writing Python code.
Shiny for Python is currently in alpha. We’d love for you to try it out and give us your feedback.
To see what Shiny for Python can do, take a look at the interactive examples in the Gallery.
You can start writing Shiny applications right in your web browser, without installing Shiny on your computer!
To get going, visit the Get Started page. You can also see some interactive examples from shinylive.io (and more) on our YouTube playlist:
After you’ve created a Shiny application, you’ll want to make it available to the world. You can deploy Shiny for Python apps to:
Learn more about deploying Shiny for Python applications in its documentation.
One of the really cool new things about Shiny for Python is that it can run without Python on the server. Instead of running Python on the server, it can run Python in the user’s web browser. We’re calling this Shinylive. Our interactive online documentation and examples are deployed using Shinylive.
How does Shinylive work? It uses the magic of WebAssembly, which is a binary format that can run inside of web browsers. Shinylive runs on Pyodide, which is a version of Python compiled to WebAssembly. Because Python runs inside of the user’s browser instead of on a server, you deploy Shinylive applications to any web hosting service.
Welcome to the rstudio::glimpse() newsletter. Get a glimpse into our tools and how to use them.
We’d like to highlight and answer some of the great audience questions asked during the "MLOps with vetiver in Python and R" webinar.