{"categories":[{"label":"Testing","url":"https://skillfed.io/packages/category/software-development-testing/2"},{"label":"Database","url":"https://skillfed.io/packages/category/database/2"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance"}],"enrichment":{"capability":"A CLI tool for defining, validating, and testing data contracts using the Open Data Contract Standard, with support for schema validation, quality checks, and exports across multiple data platforms.","skillfed_tags":["data-governance","data-quality","schema-validation"],"use_cases":["Validate that a database table conforms to a published data contract before consuming it downstream","Generate SQL DDL from a data contract YAML to keep schema definitions in sync","Run schema and quality checks in a CI/CD pipeline whenever a data product is updated","Import an existing database table into a contract definition to establish a baseline contract","Detect breaking changes between two versions of a data contract and report them"],"what_it_does":"The datacontract CLI is a command-line tool for managing data contracts\u2014formal specifications that define the structure, quality, and freshness expectations of data products. It reads contract definitions in YAML format (following the Open Data Contract Standard) and validates that actual data in databases matches those specifications by running schema checks, quality assertions, and freshness tests. The tool connects to multiple data platforms and can generate outputs in SQL DDL, HTML, and other formats.\n\nYou use it to catch data quality issues early, document data products formally, enforce contracts in CI/CD pipelines, and detect breaking changes between contract versions. It ships with 21 runtime dependencies covering YAML parsing via pyyaml and ruamel.yaml, JSON schema validation via fastjsonschema and jsonschema, cloud SDKs like boto3, and templating via Jinja2 and jinja_partials, so it's a fairly complete toolkit rather than a lightweight utility.","worth_installing":"Yes, if you work with data products or need formal data governance. The tool is actively maintained, has no known vulnerabilities, and solves a real problem in data engineering. Install friction is low. The main consideration is whether your data sources are among the supported platforms and whether you need the full dependency tree; if you only lint YAML contracts without testing live data, the overhead is lighter."},"id":"datacontract-cli","links":{"html":"https://skillfed.io/packages/datacontract-cli","md":"https://skillfed.io/packages/datacontract-cli.md","pypi":"https://pypi.org/project/datacontract-cli/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":"MIT","license_treatment":"permissive","name":"datacontract-cli","python_support":"supports_current","summary":"The datacontract CLI is an open source command-line tool for working with Data Contracts. It uses data contract YAML files to lint the data contract, connect to data sources and execute schema and quality tests, detect breaking changes, and export to different formats. The tool is written in Python. It can be used as a standalone CLI tool, in a CI/CD pipeline, or directly as a Python library."},"popularity":{"monthly_downloads":1479387,"position":3854,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1.1"}
