Skip to main content

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.2.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 pyronites 1.2.0
File Size Uploaded
pyronites-1.2.0.tar.gz 19.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyronites 1.2.0
File Interpreter ABI Platform
pyronites-1.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.4 kB

Release files / pyronites-1.2.0.tar.gz

Download URL pyronites-1.2.0.tar.gz
Size 19.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ab74243f5c6f1afe077317fe12744ad0c30bdde012e26d1f567776203987314a
BLAKE2b-256 checksum
How to use checksums
d1c0dbd4d3de9f02ec63aeca242b289eabd1e1d840b40c3a805fb3ff058f0106
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Release files / pyronites-1.2.0-py3-none-any.whl

Download URL pyronites-1.2.0-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32471a14e78a28a4cbc3fe4072c2664e972ee7e924414a62469ea9238d735f0f
BLAKE2b-256 checksum
How to use checksums
232167fbb948c05e982c4091aff66758ea8484caf9ac92b287867ec09e6ccbe8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.6

Release history Release notifications | RSS feed

This release

1.2.0 This release

2 release files

1.1.0

2 release files

0.1.0

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