odcr — Open Data Contract Runtime
Check every dataset against its data contract the moment it lands, on any platform.
odcr reads ODCS data contracts from a central Git
repository and enforces them wherever data arrives: a database table, a lakehouse table, or files in ADLS,
S3, GCS or a local landing folder. It does not matter how the data got there — batch, streaming, CDC, events
or file drops. Each load unit has a batch_id, and odcr:
- checks it against the contract: schema (columns, types, drift) and quality rules;
- decides pass, warn, or fail and quarantine (the exit code stops your pipeline);
- notifies the source team (from the contract) and the platform team: Slack, Teams, email, Google Chat, Discord, PagerDuty, Opsgenie or any webhook;
- logs everything in meta tables created on the platform itself, so history lives next to the data;
- reconciles source and target, even across platforms;
- traces each batch from source to consumption and flags where rows were lost.
pip install odcr-postgres # or snowflake, databricks, sqlserver, mongodb, files, kafka, ... (26 adapters)
odcr init my_contracts --adapter postgres
cd my_contracts && odcr doctor && odcr run --contract-id orders
- Install — Windows, macOS, Linux and Unix servers, offline and behind proxies
- Quickstart — a working project in five minutes
- Adapters — 26 platforms: on-premise, Hadoop, Azure, AWS, GCP, Snowflake, streams, documents and files
- When data lands — batch, streaming, CDC and file arrival
- Integrations — Airflow, Informatica, Ab Initio, ADF, Databricks, SSIS
- Security — TLS, certificates, secrets and least privilege