This module provides a Streamlit connection to Deta Base, allowing users to easily fetch , insert and cache data from Deta Base collections in a Streamlit app.
Set up your Deta Base credentials:
- Obtain your Deta Base project key from https://deta.sh
- Create a
secrets.toml
file in the.streamlit
folder of your root directory of the project. - Insert
data_key=YOUR_PROJECT_KEY
pip install -r requirements.txt
You can install the module using the following pip command:
pip install st_deta_connection
Check out the Example here