Welcome! This repo contains exercises appropriate to getting started with Streamlit.
We’ll build a multi-page Streamlit app with the following content:
- Streamlit Intro - A start page showing the display of text
- Hello App - An introduction to Streamlit's Inputs and Outputs
- Data Explorer - Working with Dataframes and Charts, and an intro to the Sidebar
- Countdown - A countdown timer
Refer to all Streamlit-related documentation here: https://docs.streamlit.io/
streamlit-workshop/
│
├── README.md
├── requirements.txt
│
├── Streamlit_Intro.py # Landing page / intro
└── pages/
├── 1_Hello_App.py
├── 2_Data_Explorer.py
└── 3_Countdown.py
Streamlit_Intro.py is the landing page, with workshop instructions.
Within pages/, each script becomes a separate page.
Streamlit automatically creates a sidebar menu with these pages, ordered by the numeric prefixes (1_, 2_, 3_).
- Clone this repo:
git clone https://github.com/ArjunChattoraj10/streamlit-starter-kit.git
cd streamlit-starter-kitOr you can download this repo as a Zip file and extract the contents to your device.
- Create a virtual environment (recommended):
python -m venv streamlit_venv
# macOS/Linux
source streamlit_venv/bin/activate
# Windows (Command Prompt)
streamlit_venv\Scripts\activate- Install dependencies
pip install --upgrade pip
pip install -r requirements.txtstreamlit run Streamlit_Intro.pyThis launches the landing page at http://localhost:8501
Use the sidebar to navigate between:
- Streamlit Intro
- Hello App
- Data Explorer
- Countdown