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.2.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: brevo_dc_cli-0.1.2.tar.gz
  • Upload date:
  • Size: 4.6 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.2.tar.gz
Algorithm Hash digest
SHA256 0a423a08ae61e2c165273d3b05f2d0a238b7336d28aeab80d871d27e688804e2
MD5 a36c75cd68e5a057cef11fc4935008b3
BLAKE2b-256 c4a49449ef710341cfd56a3f04af5ea13b68a19bffd8eef70f05929b6fc8ccc2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for brevo_dc_cli-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 45449829e66e6bffa5d9d9c938abcfa678af9ceb2f4275bc6115d1ec41f6e127
MD5 52c8a24ab2fa419a11d0bcbec9b98b2d
BLAKE2b-256 ce12fcadfabd067afd01fa351cef5fff60db44846329d21bc232b607fa8d0f96

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