https://docs.streamlit.io/develop/api-reference/text
스트림릿(Streamlit)은 파이썬 코드만으로 빠르게 웹 앱(데이터 앱)을 만드는 오픈소스 프레임워크이다.
프론트엔드(HTML/CSS/JS) 지식 없이도, 파이썬 스크립트에 몇 줄만 추가하면 대화형 UI(입력창, 슬라이더, 업로더, 차트 등)가 생긴다. 데이터 탐색·모델 데모·내부 대시보드·챗봇 시연 같은 걸 “금방” 만들 때 적합하다.
$ pip install streamlit
# demo 화면 확인
$ streamlit hello
Welcome to Streamlit!
If you'd like to receive helpful onboarding emails, news, offers, promotions,
and the occasional swag, please enter your email address below. Otherwise,
leave this field blank.
Email:
You can find our privacy policy at <https://streamlit.io/privacy-policy>
Summary:
- This open source library collects usage statistics.
- We cannot see and do not store information contained inside Streamlit apps,
such as text, charts, images, etc.
- Telemetry data is stored in servers in the United States.
- If you'd like to opt out, add the following to %userprofile%/.streamlit/config.toml,
creating that file if necessary:
[browser]
gatherUsageStats = false
Welcome to Streamlit. Check out our demo in your browser.
Local URL: <http://localhost:8501>
Network URL: <http://192.168.0.70:8501>
Ready to create your own Python apps super quickly?
Head over to <https://docs.streamlit.io>
May you create awesome apps!

https://docs.streamlit.io/develop/quick-reference/cheat-sheet
# app.py
import streamlit as st
st.write("Hello world")
$ streamlit run mypage.py
You can now view your Streamlit app in your browser.
Local URL: <http://localhost:8502>
Network URL: <http://192.168.0.70:8502>
# 페이지 하나 더 켜려면 port 번호를 수정해줘야 함.
$ streamlit run mypage.py --server.port 8503

