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

Metadata

Release files for pyronites 1.2.1

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.1
File Size Uploaded
pyronites-1.2.1.tar.gz 19.7 kB Details

Built distribution (wheel)

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

Total release size: 33.7 kB

Release files / pyronites-1.2.1.tar.gz

Download URL pyronites-1.2.1.tar.gz
Size 19.7 kB
Tags Source
SHA-256 checksum
How to use checksums
7d4469fffa7ecbf62dff29673a4382ee77ab3d43e77168bdad55ff178787d5e9
BLAKE2b-256 checksum
How to use checksums
302eccb2cbbf7ae7781203d969fb67534619c6fb9829bc0be4c5a206780fb580
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.1-py3-none-any.whl

Download URL pyronites-1.2.1-py3-none-any.whl
Size 14.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fb8be43f6cc949f8a82142f255b5c652da88fa7684b5b33a9cfcbbd7db5e0f5
BLAKE2b-256 checksum
How to use checksums
da124e0f2bea4ebf6fa967e6992e03777001bf16f22bd51b1d3b0ad189807f5a
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.1 This release

2 release files

1.2.0

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