Skip to main content

datacontract CLI for Brevo's data team

Project description

brevo-dc-cli

brevo-dc-cli is a command-line interface (CLI) tool for managing data contracts in Brevo. This tool provides commands to generate, compare, publish, and perform all operations related to data contracts.

Installation

To install brevo-dc-cli, use pip:

pip install brevo-dc-cli

Usage

The dc-cli tool provides several commands for working with data contracts. Below is a list of the available commands and their descriptions.

Generate Data Contract

brevo-dc-cli datacontract -m  generate [project_id] [dataset_id] [table_id] [data_column] [date_column]

Diff Data Contracts

Compare data contracts to identify differences.

brevo-dc-cli datacontract -m diff [table_id]

Publish Data Contract

brevo-dc-cli datacontract -m publish [gcp_table_id]

All Operations

brevo-dc-cli datacontract -m all [project_id] [dataset_id] [table_id] [data_column] [date_column]

Command Options

-m: Specifies the module to use, in this case, datacontract.

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

brevo_dc_cli-0.1.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

brevo_dc_cli-0.1.3-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file brevo_dc_cli-0.1.3.tar.gz.

File metadata

  • Download URL: brevo_dc_cli-0.1.3.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.9

File hashes

Hashes for brevo_dc_cli-0.1.3.tar.gz
Algorithm Hash digest
SHA256 43d0cbf0b71b9e884d12f02b7a983bfe90679df9c673560962198d9fd4e2a124
MD5 be484afc6543848ce1f593c10834fddd
BLAKE2b-256 f1e2a3a355957cfd71e87fc003ca22ea08c4f385a945bf24a2c996f753ad038f

See more details on using hashes here.

File details

Details for the file brevo_dc_cli-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for brevo_dc_cli-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ac2d082518658ebeab92850335c2b56e77e0c145ffa820d96050e19f022c0a6b
MD5 3f90a77ab4385ed8898f6d6d034cc932
BLAKE2b-256 163dd5f003325884c5c8cdb0e01af0be08b686c02e4daa79a9c01732aa86840a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page