Streamlit documentation
Streamlit is an open-source Python library that makes it easy to create and share beautiful, custom web apps for machine learning and data science. In just a few minutes you can build and deploy powerful data apps. So let's get started!
How to use our docs
Streamlit library includes our Get started guide, API reference, and more advanced features of the core library including caching, theming, and Streamlit Components.
Streamlit Community Cloud is an open and free platform for the community to deploy, discover, and share Streamlit apps and code with each other. Create a new app, share it with the community, get feedback, iterate quickly with live code updates, and have an impact!
Knowledge base is a self-serve library of tips, step-by-step tutorials, and articles that answer your questions about creating and deploying Streamlit apps.
What's new
Singleton cache validation
@st.experimental_singleton
supports an optionalvalidate
parameter that accepts a validation function for cached data and is called each time the cached value is accessed.
Colored text support in Markdown
Streamlit now supports colored text in all commands that accept Markdown, including st.markdown
, st.header
, and more! Click to read the documentation.
Snowpark and PySpark support
All Streamlit commands that accept pandas DataFrames as input also support Snowpark and PySpark DataFrames.
paletteStreamlit theme for Plotly & Altair
1.16.0 includes a new default theme for Altair and Plotly charts in Streamlit apps through the theme="streamlit"
keyword argument in st.altair_chart, st.vega_lite_chart, and st.plotly_chart.
Markdown in widget labels
Widget labels can contain inline Markdown. Click to check out the demo app and see how it works.
visibility_offWidget label visibility
All widgets and commands that support the label
parameter can customize how to hide their labels with thelabel_visibility
parameter. Click to see an example!
Latest blog posts
Create a color palette from any image
Learn how to come up with the perfect colors for your data visualization
Next: Read MoreJoin the community
Streamlit is more than just a way to make data apps, it's also a community of creators that share their apps and ideas and help each other make their work better. Please come join us on the community forum. We love to hear your questions, ideas, and help you work through your bugs — stop by today!
View forum