Streamlit extension to access pocketbase
Project description
Streamlit Pocketbase Connector
This repository contains a Streamlit app that connects to a Pocketbase database.
The goal of this app is to provide a simple example of how to connect to a Pocketbase database using the Pocketbase Python Client and Streamlit's new Connection API.
How to run this app
Note: You need poetry installed to run this app. If you don't have it, you can follow the instructions here.
- Clone this repo.
- Create
.streamlit/secrets.toml
and add your Pocketbase Endpoint. It should look like this:
pb_url = "http://127.0.0.1:8090"
- Run
poetry install
in the root directory of this repo. - Download the Pocketbase Executable from here and run it.
- Run
poetry run streamlit run app.py
in the root directory of this repo. - Enjoy!
Demo
You can see a demo of this app here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file st_pocketbase_connection-0.3.0.tar.gz
.
File metadata
- Download URL: st_pocketbase_connection-0.3.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c93354dc0741ac1080bade94c9c03b3823b4cf399a8617d7f5d6293cc21e6a9 |
|
MD5 | bedff89c41f89b230f87b6de7f85c608 |
|
BLAKE2b-256 | 4cb7c595a2ca9f2cd753ff98581826023d3651fc55c97e434cf3dda5da850e58 |
File details
Details for the file st_pocketbase_connection-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: st_pocketbase_connection-0.3.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | de19911429628ac889f97589b0c0aaefb29504b4db00905a4f00dd700cda7e31 |
|
MD5 | 21ade8075036309620392b8ba4350d93 |
|
BLAKE2b-256 | fe551ee17f6fca66c134f751ba101632448bb01455677f9c97cf8d392d17f8be |