Skip to main content

Compiler for business invariants across data-product boundaries.

Project description

Trustline

CI PyPI License Python

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

Apache 2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

trustline-0.1.1.tar.gz (37.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

trustline-0.1.1-py3-none-any.whl (55.9 kB view details)

Uploaded Python 3

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

Hashes for trustline-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1cb0e6c7b9e38859c63ac6f188390dfd8f8053d4c0f3f844435f4449a22864f7
MD5 1e375a81121f25a6b8cb8d0349f6d60e
BLAKE2b-256 fe5d9697b2d3a4e915e9bd398fd0d31421d255f29ee917017651f252b287ad1b

See more details on using hashes here.

Provenance

The following attestation bundles were made for trustline-0.1.1.tar.gz:

Publisher: release.yml on OmarFarooq908/Trustline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for trustline-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6332a7ab0589a40027e3916981f8b0ac127e7c6b5898e4ad5b22c0a0b4444cfd
MD5 84c6b4838b28dff2664b9e1100ff5e21
BLAKE2b-256 72ac36dc854b786fcee720cef632420806fbcbb0df912039874d262ebbba7f57

See more details on using hashes here.

Provenance

The following attestation bundles were made for trustline-0.1.1-py3-none-any.whl:

Publisher: release.yml on OmarFarooq908/Trustline

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page