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
trustline audit --demo

The demo audit exits 1 — seeded failures are intentional. See ACME demo.

Scaffold contracts for your product:

trustline init --preset ml-crm-boundary --non-interactive
trustline validate --contracts ./trustline/contracts

Contributors: clone the repo and run make install-dev. See Getting Started.

Trustline audit scorecard

When to use Trustline

Use Trustline when you need to verify seams between systems — not to orchestrate pipelines or train models:

Scenario Init preset
ML scores must land in CRM with expected coverage ml-crm-boundary
Training and scoring read from different feature tables cohort-source-parity
Identity funnel retention drops across join stages funnel-retention
Block merges on invalid contract YAML in CI trustline validate (no preset)

List presets: trustline init --list-presets. Pattern details: Patterns. Walkthroughs: Use cases.

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
Use cases Common adoption walkthroughs
Stability Contract and CLI semver policy
Getting Started Install, quick start, CLI
ACME demo Bundled fixture and --demo
Overview Commands, phases, architecture
Contract Spec YAML schema
Roadmap Planned versions
Examples Init presets and templates
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.2.0.tar.gz (43.4 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.2.0-py3-none-any.whl (64.9 kB view details)

Uploaded Python 3

File details

Details for the file trustline-0.2.0.tar.gz.

File metadata

  • Download URL: trustline-0.2.0.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for trustline-0.2.0.tar.gz
Algorithm Hash digest
SHA256 5d8ca81be9fa2317fe9835715c4449357d1c652f4e3c7684bc782804cea428d0
MD5 097b2affef5a9358c3ecd051a5502bd5
BLAKE2b-256 eae40eadb8af2250c212a7599f915db8d2adca0fde5309c5cd738995bc7a9844

See more details on using hashes here.

Provenance

The following attestation bundles were made for trustline-0.2.0.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: trustline-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 64.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d50f23ef6d3a105011dfa6aa25a941a5964318ba3d4bb073f4e7d258d878ca28
MD5 4da617eeeec5909c944d6125950231cc
BLAKE2b-256 eef89f1cb91b8c0ecb601be31fdc23277d5c552831a9135a4af73d9d0ea23407

See more details on using hashes here.

Provenance

The following attestation bundles were made for trustline-0.2.0-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