Serverless Data Mesh
Federated data mesh lakehouse publication on AWS Lambda - with cryptographic proof, not just green job logs.
An open Python framework for domain-oriented, federated data mesh teams on AWS. Implements data as a product, self-serve write infrastructure, and federated computational governance at the Iceberg lakehouse layer.
- Producer domains publish governed data products
- Steward notaries enforce mesh contracts with VRP proofs
- Publisher zones expose consumer-ready Iceberg data products
Introduces the Vaquar Pattern (PVDM): Physical → Verify → Durable → Metadata. Invariant: commit_metadata ⟹ VRP = PASS.
Website: GitHub Pages · Paper: arXiv:2608.14643 · Reference gate: Proof-gated-publication-PVDM
Install
pip install serverless-data-mesh
serverless-data-mesh demo # <60s local PVDM demo, no AWS
serverless-data-mesh new --template medallion --output my-mesh
serverless-data-mesh apply --contract my-mesh/mesh.yaml --output my-mesh/generated
pip install "serverless-data-mesh[rules]" # + SparkRules on Lambda
pip install "serverless-data-mesh[spark]" # + PySpark + SparkRules
pip install "serverless-data-mesh[all]" # rules + spark
pip install "serverless-data-mesh[dev]" # pytest, ruff, pre-commit
Works on Windows, Mac, and Linux. Uses veridata-recon cryptographic VRP when wheels are available; pure-Python fallback otherwise (same PASS/FAIL gate).
What it solves
| Problem | Answer |
|---|---|
| Silent data loss on backfill | VRP FAIL blocks Iceberg snapshot |
| "Job succeeded" is not proof | Cryptographic multiset proof per chunk |
| Lambda 15-minute limit | Durable + IceGuard (any total runtime); optional LMI segments up to 90 min async |
| Retry duplicates data | IceGuard rollback + workload_id checkpoints |
| Central ETL bottleneck | Per-domain Lambda writer + transaction boundary |
| Federated blast radius | Producer · Steward · Publisher accounts |
Building blocks
| Package | Role |
|---|---|
| iceguard | Physical SafeWriter, timeout rollback, S3 resume |
| veridata-recon | VRP proof generation and validation |
| aws-durable-execution-sdk-python | Cross-invocation step replay |
| pyiceberg | Glue Iceberg REST metadata via GlueCatalogConnector |
| sparkrules | Optional DRL business rules ([rules] extra) |
Quick example
from serverless_data_mesh import (
IceGuardDurableCoordinator,
DomainTransactionBoundary,
VRPProofGenerator,
)
boundary = DomainTransactionBoundary(
domain_id="orders-domain",
source_namespace="raw_orders",
target_table="orders_curated",
partition_spec={"dt": "2026-06-14"},
)
coordinator = IceGuardDurableCoordinator(
durable_context=durable_ctx,
lambda_context=lambda_ctx,
proof_generator=VRPProofGenerator(),
catalog_adapter=glue_adapter,
)
outcome = coordinator.run_workload(workload)
Optional extras
| Extra | Adds |
|---|---|
rules |
SparkRules DRL on Lambda |
spark |
PySpark + SparkRules |
all |
rules + spark |
dev |
pytest, ruff, mypy, pre-commit |
publish |
build, twine |
Documentation
- Website (GitHub Pages) — demos, walkthrough, developer path
- GitHub README
- PVDM paper (arXiv:2608.14643)
- PVDM reference gate
- Vaquar Pattern
- Getting started
- PyPI guide
- Full documentation
License
Apache-2.0
Metadata
Release files for serverless-data-mesh 1.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| serverless_data_mesh-1.4.3.tar.gz | 53.4 MB | With provenance | Details for serverless_data_mesh-1.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| serverless_data_mesh-1.4.3-py3-none-any.whl | Python 3 | none | any | Details for serverless_data_mesh-1.4.3-py3-none-any.whl |
Total release size: 53.5 MB
Release files / serverless_data_mesh-1.4.3.tar.gz
| Download URL | serverless_data_mesh-1.4.3.tar.gz |
|---|---|
| Size | 53.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a11048f6c163408c2951428dde7070ba0c982a812fe333a66371ec7c39caff3
|
|
BLAKE2b-256 checksum How to use checksums |
5c3f9473bb84ff2a5973bc8fc7996b506ab3ace84194bcea3896ec24811e8956
|
| 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 19, 2026.
Transparency logRelease files / serverless_data_mesh-1.4.3-py3-none-any.whl
| Download URL | serverless_data_mesh-1.4.3-py3-none-any.whl |
|---|---|
| Size | 133.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8117687052395cff2acbd8ea50a7a3daf6d9aec7e9aeb432af17bb07bb2dbb6f
|
|
BLAKE2b-256 checksum How to use checksums |
d57c135fea3d79392750660078f311d6e677731c5eb2fb586164cb52aca5dac0
|
| 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 19, 2026.
Transparency logSecurity for serverless-data-mesh 1.4.3
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for serverless_data_mesh-1.4.3.tar.gz
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 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.