Getting Started

How to get started with Streamlit

1

Install Streamlit

Install Streamlit using pip.

2

Add Streamlit Commands

Add Streamlit commands such as `import streamlit as st` and use elements like `st.write` or widgets in your Python script.

3

Run the Script

Run the script with `streamlit run your_script.py` to start a local server and open the app in a browser.

4

Interact with Widgets

Use widgets in the app; the script reruns top-to-bottom on changes to update the display.

5

Create Multipage Apps

Organize your app into multiple pages by creating page files and an entry point script using `st.Page` and `st.navigation`.