关于 Streamlit in Snowflake¶
本主题介绍 Streamlit in Snowflake 的主要功能。
什么是 Streamlit?¶
Streamlit (https://streamlit.io/) is an open-source Python library that makes it easy to create and share custom web apps for machine learning and data science. By using Streamlit you can quickly build and deploy powerful data applications. For more information about the open-source library, see the Streamlit documentation (https://docs.streamlit.io/).
在 Snowflake 中部署 Streamlit 应用程序¶
借助 Streamlit in Snowflake,开发者可以在 Snowflake Data Cloud 上安全地构建、部署和共享 Streamlit 应用程序。通过使用 Streamlit in Snowflake,可以构建能处理和使用 Snowflake 中数据的应用程序,而无需将数据或应用程序代码移到外部系统中。
Streamlit in Snowflake 的主要功能¶
Snowflake manages the underlying compute and storage for your Streamlit app.
Snowflake stores your source code and environment configuration within a Snowflake object that uses Role-based Access Control (RBAC) to manage access to your Streamlit app.
You can choose between a warehouse and container runtime.
Streamlit in Snowflake 可与 Snowpark、用户定义的函数 (UDFs)、存储过程和 Snowflake Native App Framework 无缝协作。
When working in Snowsight, you can use the side-by-side editor and app preview to quickly modify your source code and environment.
用例¶
有关构建仪表盘、数据工具和 ML/AI 的其他用例,请参阅 Snowflake 中的 Streamlit 演示 (https://github.com/Snowflake-Labs/snowflake-demo-streamlit)。
备注
These quickstarts are only shown as examples. Following along with the example may require additional rights to third-party data, products, or services that are not owned or provided by Snowflake. Snowflake does not guarantee the accuracy of these examples or cover them under any Service Level Agreement.
开发者指南¶
以下指南介绍了如何使用 Streamlit in Snowflake。
指南 |
描述 |
|---|---|
Deploy your first app with sample code and learn the basics. |
|
Deploy a Streamlit app from your existing code using Snowsight, SQL, or Snowflake CLI. |
|
Understand the container and warehouse runtime environments for Streamlit in Snowflake apps. |