Python SDK
BetaThe Python SDK is not production-ready. Its async SQL and live-query APIs are documented, but the kalamdb package is not available on PyPI for the 0.8 release. See Python SDK status before using these examples. For a Python application today, use the HTTP API or the PostgreSQL wire listener with psycopg.
Live APIs
Use these three methods for realtime work:
| Method | Returns | Use for |
|---|---|---|
live(sql, ...) | LiveRows | Materialized row snapshots for a supported SELECT query |
live_table(table, ...) | LiveRows | Materialized row snapshots for SELECT * FROM table |
live_events(sql, ...) | LiveEvents | Low-level protocol events such as subscription_ack, initial_data_batch, change, and error |
Read next: Live Queries.