Streamlit

Builds interactive data apps and ML demos with Streamlit, using pure Python widgets and charts.

ssrjkk Updated 2 repo stars

File contents

Streamlit

Turn Python scripts into interactive web apps in seconds.

Quick Start

import streamlit as st
st.title('My Data App')
name = st.text_input('Enter your name')
if st.button('Say Hello'): st.write(f'Hello, {name}!')

Widgets & Caching

uploaded_file = st.file_uploader("Upload CSV", type=['csv'])
if uploaded_file:
    import pandas as pd; import plotly.express as px
    df = pd.read_csv(uploaded_file); st.dataframe(df)
    fig = px.histogram(df, x=st.selectbox("Column", df.columns)); st.plotly_chart(fig)
@st.cache_data
def load_data(): return pd.read_csv('large.csv')

When to Use

  • ML model demos; Data analysis dashboards; Internal tools; Rapid prototyping

Validation

  1. App runs with streamlit run; 2. Widgets update interactively; 3. Charts render correctly

ssrjkk/claude-skills/tree/main/.claude/skills/ai/streamlit commit 55c17481a5

Frequently asked questions

npx skillmds@latest add ssrjkk/streamlit