Streamlit Component
공식 doc : https://docs.streamlit.io
1) 소개
장점
- 파이썬 스크립트 코드를 조금만 수정하면 웹을 띄울 수 있음
- 백엔드 개발이나 HTTP 요청을 구현하지 않아도 됨
- 다양한 Component 제공해 대시보드 UI 구성할 수 있음
- Streamlit Cloud도 존재해서 쉽게 배포할 수 있음(단,Community Plan은 Public Repo만 가능)
- 화면 녹화 기능(Record) 존재
예시
streamlit gallery에서 예시를 보고 소스코드도 공개가 되어 있으니 참고 하면 좋을 듯 하다 : https://streamlit.io/gallery
2) 설치
$ pip3 install streamlit
3) 실행 방법
$ streamlit run {파일명}.py
이러면 url이 뜰 텐데 localhot:8501
로 접근이 가능하다
4) Stramlit component
Streamlit Text 작성