본문 바로가기
코딩/Streamlit

Streamlit 시작하기

by GILBU 2023. 11. 10.
728x90

Streamlit 설치하기

1. 가상환경 만들기

2. 가성환경 접속

3. 가상환경 내에서 Streamlit 설치

python -m venv streamlit_env

pip install streamlit

 

 

Streamlit 실행해보기

streamlit hello

(데모 페이지 확인 가능)

 

 

나만의 웹 애플리케이션 만들기

1. {file_name}.py 파일 생성

2. streamlit 라이브러리를 이용하여 페이지 작성

3. 터미널에서 streamlit run {file_name}.py 실행

4. 웹 애플리케이션 완선

5. 배포를 통해 다른 사람이 해당 페이지에 접근

 

 

Streamlit Docs: https://docs.streamlit.io/library/api-reference

 

Streamlit Docs

Join the community Streamlit is more than just a way to make data apps, it's also a community of creators that share their apps and ideas and help each other make their work better. Please come join us on the community forum. We love to hear your questions

docs.streamlit.io

 

728x90

'코딩 > Streamlit' 카테고리의 다른 글

Streamlit  (0) 2023.11.09