startlit
startlit 0.0.4

Startlit에 오신 것을 환영합니다!
STARTLIT는 간단한 앱을 쉽게 구축하는 게이트웨이입니다. 간단하고 능률적 인 프로젝트를 시작하는 간단하고 간소화 된 방법을 제공합니다. 다음은 최신 릴리스에 포함 된 내용입니다.
pip install startlit 사용하여 PYPI에서 STARTLIT를 쉽게 설치할 수 있습니다.hello() - 환영하는 텍스트입니다.starter() - 매우 간단한 스타터 앱 템플릿. Quick-Peek : https://startlit-starter.streamlit.app/multipage() - Multipage Streamlit 앱을 구축하기위한 앱 템플릿. Quick-Peek : https://startlit-multipage.streamlit.app/fragments() - Streamlit 앱에서 독립적 인 구성 요소를 실행할 수있는 앱입니다. Quick-Peek : https://startlit-fragments.streamlit.app/chat() - 더미 챗봇 앱. Quick-Peek : https://startlit-chat.streamlit.app/snowflake_demo_app("app_keyword","destination_directory") - Snowflake의 간소화 앱에 대한 데모 다운로드. Quick-Peek : https://github.com/snowflake-labs/snowflake-demo-streamlitlist_streamlit_apps() - 실행식 앱을 실행 중입니다.kill_streamlit_apps() - 킬 런닝 간식 앱을 킬.help() - 사용 가능한 기능 목록이있는 도움말 메뉴 표시. pip install startlit from startlit import *
hello () hello() 실행은 간단한 환영 메시지를 제공해야합니다.
Hello there
Welcome to Startlit!
starter ()출력 -
? Starter app downloaded!?
? Look for 'app.py' and 'requirements.txt' file in your working directory ?
Visit https://startlit-starter.streamlit.app/ for a quick look to the starter app
로컬/작업 디렉토리를 찾으면 위에서 언급 한 2 파일이 있습니다.
# just to check - files have been downloaded
! ls출력 -
app.py requirements.txt
# just to check - app.py actually has streamlit code
! cat app.py출력 -
import streamlit as st
# Display a title
st . title ( 'Hello, World! ?' )
# Add a description with an inline comment
st . write ( "This is my first app in Streamlit! " ) # Comment: Don't forget to smile # get a list of available ftrs
help ()
# Download a starter app template
starter ()
# Download a multipage app template
multipage ()
# Download a fragment app template
fragments ()
# Download a dummy chatbot app template
chat ()
# List all active apps
list_streamlit_apps ()
# Kill a specific app by app_id
kill_streamlit_apps ( app_id ) app_keyword = "chat_app"
destination_directory = "./folder"
snowflake_demo_app ( app_keyword , destination_directory )산출
Cloning from https://github.com/Snowflake-Labs/snowflake-demo-streamlit.git ?
Using the main branch ?
Target directory created: ./folder
Fetched folder: Chat app using Snowflake Cortex ?
Fetched LICENSE file
Fetched README.md file
Demo app files fetched successfully to /content/folder ??
Please make sure to read the README.md and LICENSE files for important information.
다음 표에는 앱 키워드 (위 예제에서 사용)와 저장소의 해당 폴더 이름이 나와 있습니다.
| 예어 | 폴더 설명 |
|---|---|
| chat_app | 눈송이 피질을 사용한 채팅 앱 |
| email_generator | LLM 이메일 생성기 |
| CI_DEMO | 연속 통합 - 서밋 데모 |
| 고객_engagement | 고객 참여 앱 |
| 조각 | 검색 증강 세대 (rag) |
| external_access_chat_app | 외부 액세스 : 타사 LLM을 사용한 채팅 앱 |
| github_insights | Github 인기 통찰력 |
| h3_mapping | H3 매핑 및 시간 시리즈 시각화 |
| sql_optimizer | Snowflake Cortex를 사용한 SQL 쿼리 최적화 앱 |
| inventory_tracker | 재고 추적기 |
| usage_monitoring | 눈송이 사용 모니터링에서 간소화 |
| metrics_app | 주요 메트릭 앱 |
| rendent_analytics | 사용자 유지 분석 앱 |
| Language_Insights | 언어 사용 통찰력 |
| data_io | Snowflake에 데이터를 작성하고 읽습니다 |
귀하의 의견과 개선에 대한 제안을 듣게되어 기쁩니다.
협업 및 기부금을 환영합니까? 문제를 열거 나 풀어 요청을 제출하십시오.
Startlit과 Happy Coding으로 간단한 여행을 즐기십시오! ?
https://pypistats.org/packages/startlit에서 패키지 다운로드 통계 확인을 확인하십시오
© Indraneel Chakraborty | 2024 ? linkedin | x/트위터