pyronites
Official Python client for the Pyronites backend.
Supabase-style API, zero mandatory paid services — point it at your own backend URL + API key.
Install
# Development (from this repo)
pip install -e ./pyronites
# From PyPI (after publish)
pip install pyronites
Requires Python 3.10+.
5-minute setup
export PYRONITES_URL="https://your-backend.example.com"
export PYRONITES_KEY="pyro_live_..."
from pyronites import create_client
client = create_client()
# Auth (optional)
client.auth.sign_in("user@example.com", "password")
print(client.auth.user())
# Tables
note = client.table("notes").insert({"title": "Hello", "body": "World"})
for row in client.table("notes").select().limit(10):
print(row)
client.table("notes").update({"title": "Updated"}).eq("id", note["id"])
client.table("notes").delete().eq("id", note["id"])
# Storage
meta = client.storage.upload("photo.jpg")
data = client.storage.download(meta["id"])
client.storage.remove(meta["id"])
# Local-only / cache tables (optional)
client = create_client(
local_tables=["settings"],
cache_tables=["catalog"],
local_db_path="./.pyronites_local.db",
)
client.table("settings").insert({"theme": "dark"})
client.pull("catalog")
Config
| Source | Variables / args |
|---|---|
| Env | PYRONITES_URL, PYRONITES_KEY, optional PYRONITES_LOCAL_DB |
| Constructor | create_client(url=..., key=..., timeout=30, local_tables=..., cache_tables=..., remote_tables=..., local_db_path=...) |
Args override env. Missing URL raises a clear error at create time.
Security: never put a powerful service key in a public frontend.
Public API
See docs/syntax.md.
Development
cd pyronites
pip install -e ".[dev]"
pytest
License
MIT
Release files for pyronites 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyronites-1.1.0.tar.gz | 18.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyronites-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.9 kB
Release files / pyronites-1.1.0.tar.gz
| Download URL | pyronites-1.1.0.tar.gz |
|---|---|
| Size | 18.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33cd7ffac44a3dd746b81460a449cc9529f1d63199893336977e95387f3d71c5
|
|
BLAKE2b-256 checksum How to use checksums |
8c15c99720db14c997bb671ae8eea07cc287111b1becc6371ea4f2be952df71b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / pyronites-1.1.0-py3-none-any.whl
| Download URL | pyronites-1.1.0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
099e05ad90977a8fb87943c2c9706cec403547d512550b6bf8cd35ed88572864
|
|
BLAKE2b-256 checksum How to use checksums |
bc49afc2c866b8e3ae16b21c6a08f6f1270990c21d8ae1a4d4f2f3a304fa5415
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|