Streamlit — A faster way to build and share data apps.
Streamlit — A faster way to build and share data apps.
A faster way to build and share data apps.
Streamlit lets you transform Python scripts into interactive web apps in minutes, instead of weeks. Build dashboards, generate reports, or create chat apps. Once you’ve created an app, you can use our Community Cloud platform to deploy, manage, and share your app.
Open a terminal and run:
$ pip install streamlit
$ streamlit helloIf this opens our sweet Streamlit Hello app in your browser, you're all set! If not, head over to our docs for specific installs.
The app features a bunch of examples of what you can do with Streamlit. Jump to the quickstart section to understand how that all works.
Create a new file named streamlit_app.py in your project directory with the following code:
import streamlit as st
x = st.slider("Select a value")
st.write(x, "squared is", x * x)Now run it to open the app!
$ streamlit run streamlit_app.pyStreamlit comes in with a ton of additional powerful elements to spice up your data apps and delight your viewers. Some examples:
Our vibrant creators community also extends Streamlit capabilities using 🧩 Streamlit Components.
There's so much you can build with Streamlit:
Check out our gallery! 🎈
Deploy, manage and share your apps for free using our Community Cloud! Sign-up here.
🎉 Thanks for your interest in helping improve Streamlit! 🎉
We have paused accepting pull requests from outside the Streamlit maintainer team. You can still make a valuable contribution by reporting bugs, requesting features, improving or upvoting existing issues, commenting on open specs, creating custom components, and contributing to streamlit-extras.
Read our contribution guide for details.
Streamlit is completely free and open-source and licensed under the Apache 2.0 license.
`heartbeat_ack` is discarded when a script run starts before the queue flushes
Programmatically set selections fail for empty selection
Adding JS callback support for st.echarts_chart
`st.dataframe` toolbar buttons are 22.4px, below the WCAG 2.2 24px minimum target size (axe `target-size`)
selectbox clears on rerun if format_func returns new value, even with the same options.
2nd Sidebar (on right side)
[Coming soon] Don't rerun on widget interaction
Add alt text to images & charts for improved accessibility
Add form validation to make form fields required
[Coming soon] Using st.data_editor with session state, input data "disappears": Requires double input to register changes.