Welcome to Streamlit

Streamlit is an open-source Python library that makes it easy to build beautiful apps for machine learning.

Install Streamlit, import it, write some code, and run your script. Streamlit watches for changes on each save and updates automatically, visualizing your output while you’re coding. Code runs from top to bottom, always from a clean state, and with no need for callbacks. It’s a simple and powerful app model that lets you build rich UIs incredibly quickly. To learn more about how Streamlit works, see Main concepts.

Install Streamlit

Follow these steps and you’ll have a sample app running in less than 5 minutes.

  1. Make sure that you have Python 2.7.0 / Python 3.6.0 or greater installed.

  2. Install Streamlit using PIP:

    $ pip install streamlit
  3. Run the hello world app:

    $ streamlit hello
  4. That’s it! In the next few seconds the sample app will open in a new tab in your default browser.

Get started

The easiest way to learn how to use Streamlit is to try it out. Use our get started guide to kick the tires, and learn the basics of building an app.

Build your first app

Create an app to explore an Uber dataset for pickups in New York City. You’ll learn about caching, drawing charts, plotting data on a map, and how to use interactive widgets.

Join the community

The quickest way to get help is to reach out on our community forum. We’d love to hear your questions, ideas, and bugs — please share!