PySpark reference execution plugin for ETLantic.
Project description
etlantic-pyspark
PySpark reference execution plugin and portable transform compiler for ETLantic 0.20.
pip install 'etlantic==0.32.0' 'etlantic-pyspark==0.32.0'
# or: pip install 'etlantic[pyspark]'
# optional Delta Lake support:
pip install 'etlantic-pyspark[delta]==0.32.0'
Native Spark plugin
from etlantic import Profile
Profile(name="spark-local", spark_engine="pyspark")
Register @Transformation.implementation("pyspark") handlers that take
Spark DataFrames (or lists of contract models) and return Spark DataFrames.
Native capabilities
- Lazy Spark region fusion with preserved logical identities
- Local Spark provider (
local[*]) — secrets resolved only at session acquire - Native-expression preference with UDF policy diagnostics
- Contract ↔ Spark schema mapping (lossy/unknown never guessed)
- Valid/invalid row separation
- Delta-compatible write intents (append/overwrite/merge) when Delta is enabled
- Structured Streaming foundation (experimental)
Portable transform compiler
Entry point: etlantic.transform_compilers →
etlantic_pyspark:create_transform_compiler.
Claims portable-relational-kernel/1 and portable-relational/1. Lowers
dtcs.transform-plan/2 to native Spark DataFrame/Column expressions. Automatic
Python/Pandas UDF fallback is forbidden on the portable path (native UDF policy
stays separate). Default CI uses sparkless; set
SPARKLESS_TEST_MODE=pyspark for real JVM Catalyst checks.
Not included: managed cloud providers (Databricks/EMR/Connect).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file etlantic_pyspark-0.32.0.tar.gz.
File metadata
- Download URL: etlantic_pyspark-0.32.0.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5fd9ed9b44366aa4815053ab7aa642f04df72b9a593eeef8fa87b8edded7998
|
|
| MD5 |
070613bed8fb8ceffd1819395851366d
|
|
| BLAKE2b-256 |
ab0c5881899d43e6adcb749734360ad78e736860db19fb85738819ba86104631
|
File details
Details for the file etlantic_pyspark-0.32.0-py3-none-any.whl.
File metadata
- Download URL: etlantic_pyspark-0.32.0-py3-none-any.whl
- Upload date:
- Size: 24.2 kB
- Tags: Python 3
- Uploaded using 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}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d604821129c9bdb94fc4607f38f6b27e4066eecadb605caa20e2436019449cea
|
|
| MD5 |
30b8116ab010b5dc76e77c57d066722a
|
|
| BLAKE2b-256 |
89ce45b2b352a09bca00dce2d9f5224365471b09887144a7416b1d1a789104f9
|