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.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 continuo-postgres-adapter 0.2.1
File Size Uploaded
continuo_postgres_adapter-0.2.1.tar.gz 29.1 kB Details

Built distribution (wheel)

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

Total release size: 42.2 kB

Release files / continuo_postgres_adapter-0.2.1.tar.gz

Download URL continuo_postgres_adapter-0.2.1.tar.gz
Size 29.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4d9b19d97c39b9aabb40fe072070368f825571bcb5cb7e7983b26136a6220ca9
BLAKE2b-256 checksum
How to use checksums
5fc91090b855548a7a9f3a6e954836888b94ba6fb561608afff2b41470c6f8bc
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 9, 2026.

Transparency log

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

Download URL continuo_postgres_adapter-0.2.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de046e4f51e9236d2bc2f43226c595ad10a23d58e8631ffae5525e44687d7dd3
BLAKE2b-256 checksum
How to use checksums
13f4a05c498f31b7dae7a2b3631f7dc1e9e301b5e870d915e9bfb45bb06a6e81
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 9, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

2 release files

This release

0.2.1 This release

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