Skip to content

mohitrajsinha/st_deta_connection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MIT License st_deta_connections

Streamlit Deta Connection Module

Overview

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.

Prerequisites

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

Installation

You can install the module using the following pip command:

pip install st_deta_connection

Example

Check out the Example here