Skip to main content

continuo-postgres-adapter

Postgres engine-adapter library for Continuo python nodes. PostgresAdapter implements continuo_engine_contract.port.WarehouseAdapter (from the continuo-engine-contract package) — one class covering both the data plane (fetch / ensure_table / load) and release-time validation (ensure_schema / drop_schema / build_empty_from_sql / build_empty_from_columns / clone_empty_from_prod / check_binds) — and registers itself under entry-point group continuo_engine.adapters as postgres.

Connection env: POSTGRES_HOST, POSTGRES_DB, POSTGRES_USER (required); POSTGRES_PORT (default 5432), POSTGRES_PASSWORD (default empty).

The connection runs with autocommit = True; every method owns its transaction explicitly. load() and ensure_table() open an explicit BEGIN around their statements and COMMIT/ROLLBACK themselves, so a mid-sequence failure leaves no partial change. fetch() executes a single read and commits (or rolls back on error), never leaving an open transaction dangling.

The config: index vocabulary is the union of the two vocabularies this adapter inherited from the merge: columns, unique, type, and name, with the strictest check from each side applied. The derived index name is built from the table and the column list only — type and unique are not folded into it, so two index entries on the same columns that differ only in type (or only in unique) collide on that derived name and are rejected as a duplicate. Give one of them an explicit name: when that is genuinely intended.

Verification tier: unit tests are mock-free pure-logic tests (type-grammar validation, Arrow table construction from rows); DDL/transactional behavior (schema/table creation, load truncate+insert+rollback, validation DDL) is verified against a live postgres:16 engine in tests/test_integration_runtime_postgres.py and tests/test_integration_postgres_validation.py.

Metadata

Release files for continuo-postgres-adapter 0.2.2

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

Source distribution (sdist)

Source distribution for continuo-postgres-adapter 0.2.2
File Size Uploaded
continuo_postgres_adapter-0.2.2.tar.gz 29.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for continuo-postgres-adapter 0.2.2
File Interpreter ABI Platform
continuo_postgres_adapter-0.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 42.5 kB

Release files / continuo_postgres_adapter-0.2.2.tar.gz

Download URL continuo_postgres_adapter-0.2.2.tar.gz
Size 29.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c3fa9140c04686aea1c54b3a69e7c8c3e60586bde6de47f6cfac3b5327c1e45f
BLAKE2b-256 checksum
How to use checksums
9a6b0358921d88f572d41f770ba714666e338524d9cfadee30e294ad88d003a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release files / continuo_postgres_adapter-0.2.2-py3-none-any.whl

Download URL continuo_postgres_adapter-0.2.2-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c17e7661b9753c82dde73b25822b428c0cdd92f778747bef90fac7ad60cdd918
BLAKE2b-256 checksum
How to use checksums
838235ba2e210a985418a49ea188579a522fed53a06a4cceae6b1c4c4782d810
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files

0.2.1

2 release files

0.2.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