Welcome

Shiny for Python: Effortless Python web applications

Create efficient, reactive, and robust web applications and dashboards.


import seaborn as sns
from shiny.express import input, render, ui

df = sns.load_dataset("penguins")

ui.input_slider("bins", "Number of Bins", min=5, max=20, value=15, step=1)

@render.plot(height=300)
def plot():
    sns.histplot(data=df, x="body_mass_g", bins=input.bins())

#| '!! shinylive warning !!': |
#|   shinylive does not work in self-contained HTML documents.
#|   Please set `embed-resources: false` in your metadata.
##| standalone: true
##| components: [viewer]
##| viewerHeight: 400px

import seaborn as sns
from shiny.express import input, render, ui

df = sns.load_dataset("penguins")

ui.input_slider("bins", "Number of Bins", min=5, max=20, value=15, step=1)

@render.plot(height=300)
def plot():
    sns.histplot(data=df, x="body_mass_g", bins=input.bins())

Why Shiny?

Shiny for Python empowers you to bring your data to life with interactive applications that are easy to build, customize, and share.

Ready to dive deeper? Learn more about what makes Shiny unique.

Take Shiny for a spin

The next pages in this guide will help you install shiny, create and run your first application, help you find troubleshooting help, and deploy your app to the web (for free).

Or skip installation and try the shinylive playground in the browser!

Have a question? Join our community on our Discord server!