startlit
startlit 0.0.4

欢迎来到StartLit!
StartLit是您轻松构建精简应用程序的门户。它带来了一种简单的简化方法来开始您的简化项目。这是最新版本中的内容:
pip install startlit 。hello() - 只是一个欢迎文字。starter() - 一个非常简单的入门应用模板。 Quick-Peek:https://startlit-starter.streamlit.app/multipage() - 用于构建乘法简化应用的应用模板。快速:https://startlit-multipage.streamlit.app/fragments() - 一个允许您在简化应用程序中运行独立组件的应用程序。 Quick-Peek:https://startlit-fragments.streamlit.app/chat() - 虚拟聊天机器人应用程序。 Quick-Peek:https://startlit-chat.streamlit.app/snowflake_demo_app("app_keyword","destination_directory") - 在雪花上下载用于简化应用程序的演示。快速: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.
下表列出了App关键字(在上面的示例中使用)及其在存储库中的相应文件夹名称:
| 关键词 | 文件夹说明 |
|---|---|
| chat_app | 使用雪花皮层聊天应用 |
| email_generator | LLM电子邮件生成器 |
| CI_DEMO | 连续集成 - 峰会演示 |
| customer_engagement | 客户参与应用程序 |
| 抹布 | 检索增强发电(RAG) |
| external_access_chat_app | 外部访问:使用第三方LLM聊天应用程序 |
| github_insights | Github普及见解 |
| h3_mapping | H3映射和时间表可视化 |
| sql_optimizer | SQL查询优化器应用使用Snowflake Cortex |
| natventory_tracker | 库存跟踪器 |
| USAGE_MONTORITINING | 简化雪花使用监视 |
| Metrics_App | 关键指标应用程序 |
| retention_Analytics | 用户保留分析应用程序 |
| language_insights | 语言使用见解 |
| data_io | 写和读取数据回到雪花 |
很高兴听到您的反馈和改进建议。
欢迎合作和贡献吗?随时打开问题或提交拉请请求。
享受启动和愉快的编码的简化旅程! ?
在https://pypistats.org/packages/startlit上查看统计数据
© Indraneel Chakraborty | 2024 ?linkedin | X/Twitter