Streamlit turns data scripts into shareable web apps in minutes. All in pure Python. No front‑end experience required.
A Streamlit demo to interactively visualize Uber pickups in New York City:
-
In this GitHub repo, click on "Use this Template" (the green button at the top of this page)
-
In your GitHub-Account, download the
streamlit-apprepository to your machine with GitHub Desktop -
In your terminal (Mac) or Anaconda Command Prompt (Windows), cd into the
streamlit-appfolder
cd streamlit-app- Now we install all needed Python libraries from the
environment.ymlfile to create a virtual environment namedstreamlit:
conda env create -f environment.yml- Activate the
streamlitenvironment:
conda activate streamlit- cd into 1-first-app
cd 1-first-app- Start the app:
streamlit run app.py-
While developing a Streamlit app, it's recommended to lay out your editor and browser windows side by side, so the code and the app can be seen at the same time.
-
Complete the code with the help of this Cheat Sheet.
-
If you are done, go to your terminal and stop your app with
Ctrl+C
-
Get familiar with the main concepts
-
App demo:
streamlit hello