Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mohitrajsinha/st_deta_connection
https://github.com/mohitrajsinha/st_deta_connection
connection deta deta-space python streamlit
Last synced: 15 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mohitrajsinha/st_deta_connection
- Owner: mohitrajsinha
- License: mit
- Created: 2023-12-09T20:55:16.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-12-22T19:46:00.000Z (about 1 year ago)
- Last Synced: 2024-04-24T17:40:17.485Z (9 months ago)
- Topics: connection, deta, deta-space, python, streamlit
- Language: Python
- Homepage: https://pypi.org/project/st-deta-connection
- Size: 16.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
[![MIT License](https://img.shields.io/badge/License-MIT-green.svg)](https://choosealicense.com/licenses/mit/)
![st_deta_connections](https://github.com/mohitrajsinha/st_deta_connection/assets/112544299/8ff92d08-f333-41a7-a2ec-7f8daf2d5da8)# 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````bash
pip install -r requirements.txt
```
## InstallationYou can install the module using the following pip command:
```bash
pip install st_deta_connection
```
## Example
Check out the Example [here](https://github.com/mohitrajsinha/st_deta_connection/blob/master/Example/connection_example.py)