Datacontract-cli

Latest version: v0.10.23

Safety actively analyzes 723158 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 5 of 8

0.9.62

Added

- test kafka for avro messages
- added export format **avro**: `datacontract export --format avro`

0.9.9

Added

- Added export format **html** (15)
- Added descriptions as comments to `datacontract export --format sql` for Databricks dialects
- Added import of arrays in Avro import

0.9.8

Added

- Added export format **great-expectations**: `datacontract export --format great-expectations`
- Added gRPC support to OpenTelemetry integration for publishing test results
- Added AVRO import support for namespace (121)
- Added handling for optional fields in avro import (112)
- Added Databricks SQL dialect for `datacontract export --format sql`

Fixed

- Use `sql_type_converter` to build checks.
- Fixed AVRO import when doc is missing (121)

0.9.7

Added

- Added option publish test results to **OpenTelemetry**: `datacontract test --publish-to-opentelemetry`
- Added export format **protobuf**: `datacontract export --format protobuf`
- Added export format **terraform**: `datacontract export --format terraform` (limitation: only works for AWS S3 right now)
- Added export format **sql**: `datacontract export --format sql`
- Added export format **sql-query**: `datacontract export --format sql-query`
- Added export format **avro-idl**: `datacontract export --format avro-idl`: Generates an Avro IDL file containing records for each model.
- Added new command **changelog**: `datacontract changelog datacontract1.yaml datacontract2.yaml` will now generate a changelog based on the changes in the data contract. This will be useful for keeping track of changes in the data contract over time.
- Added extensive linting on data contracts. `datacontract lint` will now check for a variety of possible errors in the data contract, such as missing descriptions, incorrect references to models or fields, nonsensical constraints, and more.
- Added importer for avro schemas. `datacontract import --format avro` will now import avro schemas into a data contract.

Fixed

- Fixed a bug where the export to YAML always escaped the unicode characters.

0.9.6

This is a huge step forward, we now support testing Kafka messages.
We start with JSON messages and avro, and Protobuf will follow.

Added
- test kafka for JSON messages
- added import format **sql**: `datacontract import --format sql` (51)
- added export format **dbt-sources**: `datacontract export --format dbt-sources`
- added export format **dbt-staging-sql**: `datacontract export --format dbt-staging-sql`
- added export format **rdf**: `datacontract export --format rdf` (52)
- added command `datacontract breaking` to detect breaking changes in between two data contracts.

0.9.5

Added
- export to dbt models (37).
- export to ODCS (49).
- test - show a test summary table.
- lint - Support local schema (46).

Page 5 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.