Welcome to dbt-contracts!

Enforce standards for your dbt projects through automated checks and generators

  • Validate that the metadata and properties of objects in your project match required standards

  • Automatically generate properties in your project from their related database objects

  • Apply complex filtering and validation rules setting for highly granular operations

  • Execute these operations as pre-commit hooks for automatic project validation

What’s in this documentation

  • Guides on getting started with dbt-contracts and other key functionality of the package

  • Release history

  • How to get started with contributing to dbt-contracts

  • Reference documentation

Installation

Install through pip using one of the following commands:

pip install dbt-contracts
# or
python -m pip install dbt-contracts

dbt-contracts is best utilised when used in conjunction with pre-commit hooks. Follow the installation guide for pre-commit to set this up if needed.

πŸ“œ Guides & Getting Started

πŸ“– Contracts Reference

πŸ› οΈ Project Info