Compiler for business invariants across data-product boundaries.
Project description
Trustline
Business systems fail at the boundaries. Trustline verifies the boundaries.
Trustline compiles YAML contracts into SQL checks and produces a measurable integrity scorecard. See Why Trustline for the seam problem and compiler model.
Quickstart
pip install trustline
ACME=$(python -c "from trustline.examples import acme_stream_dir; print(acme_stream_dir())")
trustline validate --contracts "$ACME/contracts"
trustline audit \
--contracts "$ACME/contracts" \
--target duckdb \
--profiles "$ACME/profiles.yml.example"
The example audit exits 1 — the fixture intentionally includes failing checks.
Contributors: clone the repo and run make install-dev. See Getting Started.
What Trustline is not
- Not an orchestrator — integrates with Airflow and Dagster; does not replace them
- Not a transform framework — extends dbt; does not replace it
- Not a model training runtime — no training, inference, or feature store
- Not a hosted SaaS — CLI you run in CI or on a schedule
- Not auto-remediation — detects and reports; never auto-fixes
Documentation
| Document | Description |
|---|---|
| Why Trustline | Problem statement and compiler model |
| Patterns | Boundary failure catalog |
| Stability | Contract and CLI semver policy |
| Getting Started | Install and CLI |
| Overview | Commands, phases, architecture |
| Contract Spec | YAML schema |
| Contributing | Development |
Development
make check # format, lint, types, tests, coverage
make test
License
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 trustline-0.1.1.tar.gz.
File metadata
- Download URL: trustline-0.1.1.tar.gz
- Upload date:
- Size: 37.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1cb0e6c7b9e38859c63ac6f188390dfd8f8053d4c0f3f844435f4449a22864f7
|
|
| MD5 |
1e375a81121f25a6b8cb8d0349f6d60e
|
|
| BLAKE2b-256 |
fe5d9697b2d3a4e915e9bd398fd0d31421d255f29ee917017651f252b287ad1b
|
Provenance
The following attestation bundles were made for trustline-0.1.1.tar.gz:
Publisher:
release.yml on OmarFarooq908/Trustline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trustline-0.1.1.tar.gz -
Subject digest:
1cb0e6c7b9e38859c63ac6f188390dfd8f8053d4c0f3f844435f4449a22864f7 - Sigstore transparency entry: 2138431666
- Sigstore integration time:
-
Permalink:
OmarFarooq908/Trustline@e572e879f9957c0a95049f603279a6c065e81616 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/OmarFarooq908
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e572e879f9957c0a95049f603279a6c065e81616 -
Trigger Event:
push
-
Statement type:
File details
Details for the file trustline-0.1.1-py3-none-any.whl.
File metadata
- Download URL: trustline-0.1.1-py3-none-any.whl
- Upload date:
- Size: 55.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6332a7ab0589a40027e3916981f8b0ac127e7c6b5898e4ad5b22c0a0b4444cfd
|
|
| MD5 |
84c6b4838b28dff2664b9e1100ff5e21
|
|
| BLAKE2b-256 |
72ac36dc854b786fcee720cef632420806fbcbb0df912039874d262ebbba7f57
|
Provenance
The following attestation bundles were made for trustline-0.1.1-py3-none-any.whl:
Publisher:
release.yml on OmarFarooq908/Trustline
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
trustline-0.1.1-py3-none-any.whl -
Subject digest:
6332a7ab0589a40027e3916981f8b0ac127e7c6b5898e4ad5b22c0a0b4444cfd - Sigstore transparency entry: 2138431678
- Sigstore integration time:
-
Permalink:
OmarFarooq908/Trustline@e572e879f9957c0a95049f603279a6c065e81616 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/OmarFarooq908
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e572e879f9957c0a95049f603279a6c065e81616 -
Trigger Event:
push
-
Statement type: