Skip to main content

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.

  1. Clone this repo.
  2. Create .streamlit/secrets.toml and add your Pocketbase Endpoint. It should look like this:
pb_url = "http://127.0.0.1:8090"
  1. Run poetry install in the root directory of this repo.
  2. Download the Pocketbase Executable from here and run it.
  3. Run poetry run streamlit run app.py in the root directory of this repo.
  4. Enjoy!

Demo

You can see a demo of this app here.

streamlit-app-2023-08-02-16-08-05.webm

Metadata

Release files for st-pocketbase-connection 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for st-pocketbase-connection 0.3.0
File Size Uploaded
st_pocketbase_connection-0.3.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for st-pocketbase-connection 0.3.0
File Interpreter ABI Platform
st_pocketbase_connection-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.6 kB

Release files / st_pocketbase_connection-0.3.0.tar.gz

Download URL st_pocketbase_connection-0.3.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
1c93354dc0741ac1080bade94c9c03b3823b4cf399a8617d7f5d6293cc21e6a9
BLAKE2b-256 checksum
How to use checksums
4cb7c595a2ca9f2cd753ff98581826023d3651fc55c97e434cf3dda5da850e58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release files / st_pocketbase_connection-0.3.0-py3-none-any.whl

Download URL st_pocketbase_connection-0.3.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de19911429628ac889f97589b0c0aaefb29504b4db00905a4f00dd700cda7e31
BLAKE2b-256 checksum
How to use checksums
fe551ee17f6fca66c134f751ba101632448bb01455677f9c97cf8d392d17f8be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/4.0.2 CPython/3.11.7

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page