Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

pipelantic-sql

PostgreSQL reference SQL execution plugin for Pipelantic.

pip install pipelantic-sql
# or: pip install 'pipelantic[sql]'
export PIPELANTIC_SQL_URL=postgresql+psycopg://user:pass@localhost:5432/pipelantic
# SQLite is fine for demos only:
# export PIPELANTIC_SQL_URL=sqlite+pysqlite:///:memory:

Uses SQLAlchemy Core. Driver dependencies stay out of pipelantic core.

Wiring

from pipelantic import Profile

Profile(name="sql-prod", sql_engine="sql")

Register @Transformation.implementation("sql") handlers that take RelationRef inputs and return SQL query handles (not fetched rows).

Capabilities (0.6)

  • SQL→SQL fusion without intermediate Python row fetch
  • Durable run-scoped staging tables (not session TEMP)
  • Insert-select / CTAS-style publication
  • Fail-closed planning when required capabilities are missing

Not included: MERGE / upsert (sql_merge=False). Requiring merge fails at planning.

Examples

python examples/sql_to_sql.py
python examples/sql_boundary_hybrid.py
python examples/sql_transactional_write.py
python examples/sql_failure_recovery.py

Metadata

Release files for pipelantic-sql 0.6.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 pipelantic-sql 0.6.0
File Size Uploaded
pipelantic_sql-0.6.0.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pipelantic-sql 0.6.0
File Interpreter ABI Platform
pipelantic_sql-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.0 kB

Release files / pipelantic_sql-0.6.0.tar.gz

Download URL pipelantic_sql-0.6.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4ca7d480cfd1d2de94f291ddf68afb14b73dccebe8c2015fc8b03333723df78d
BLAKE2b-256 checksum
How to use checksums
7d5cd4ef553c43c1a9281fcbe478fbdc3ac923423ab815d7ac609ce518cdf541
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / pipelantic_sql-0.6.0-py3-none-any.whl

Download URL pipelantic_sql-0.6.0-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
169b43d2a7e22ff4fcdcdba870cf7b51c16f6d8eb4ca6abd735f817d05399f7e
BLAKE2b-256 checksum
How to use checksums
7eb207d0062c49be2d04f02dc8013d440d8708038d4df6fd953e394a59eefcf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.11.3 {"installer":{"name":"uv","version":"0.11.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.6.0 This release

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