Native Application - Traditional Streamlit
Goal of this tutorial is to build a traditional native application that has sql function, data that is shared, and a streamlit application that uses that shared data.
Video
Requirements
- Snowflake account, you can use a free trial. We also assume no complex security needs.
Download
- Files (Link)
Setup
This tutorial is very UI focused so we suggest to follow along with the video and use the files / code provided.
Example V1 - Basic funtions
The goals in this first step is to introduce you to a native application framework and how to upload files to the stage. In this example we'll run the first block of code and then upload V1 files to the stage. Then run the second to create the application from the package.
Example V2 - Share data
The of this exmaple is to show how you can add data that will be shared with the application to the end consumer. In this example we'll run the first block of code and then upload V2 files to the stage. Then run the second to create the application from the package.
Example V3 - Streamlit
For this example we'll add a streamlit application to our application so users can visulize the data we have shared with them. In this we'll upload the V3 files and then run the code.
Now we can click on the application and go to the app.
Now we can see our streamlit application that is referencing our shared data.
Versioning and deploying the application
To version your application and deploy the application so it can be share to other consumers please watch the video, it is all done in the UI.