Skip to main content

CLI tool for dbt users adopting analytics engineering best practices.

Project description

dbt-coves

Brought to you by your friends at Datacoves

Datacoves

The Datacoves platform helps enterprises overcome their data delivery challenges quickly using dbt and Airflow, implementing best practices from the start without the need for multiple vendors or costly consultants.

Hosted VS Code, dbt-core, SqlFluff, and Airflow, find out more at Datacoves.com.

Overview

image

Table of contents

Introduction

dbt-coves is a CLI tool that automates and simplifies development and release tasks for dbt.

In addition to other functions listed below, dbt-coves generates dbt sources, staging models and property(yml) files by analyzing information from the data warehouse and creating the necessary files (sql and yml). It can even generate Airflow DAGs based on YML input.

Finally, dbt-coves includes functionality to bootstrap a dbt project and to extract and load configurations from data-replication providers.

Installation

pip install dbt-coves

We recommend using python virtualenvs and create one separate environment per project.

Supported dbt versions

Version Status
< 1.0 ❌ Not supported
>= 1.0 ✅ Tested

From dbt-coves 1.4.0 onwards, our major and minor versions match those of dbt-core. This means we release a new major/minor version once it's dbt-core equivalent is tested. Patch suffix (1.4.X) is exclusive to our continuous development and does not reflect a version match with dbt.

Supported dbt adapters

Feature Snowflake Redshift BigQuery
source model (sql) generation ✅ Tested ✅ Tested ✅ Tested
model properties (yml) generation ✅ Tested ✅ Tested ✅ Tested

NOTE: Other database adapters may work, although we have not tested them. Feel free to try them and let us know so we can update the table above.

Usage

dbt-coves, supports the following functions:

  • dbt: run dbt commands in CI and Airflow environments.
  • extract and load: save and restore your configuration from:
  • generate:
    • airflow dags: generate Airflow DAGs from YML files.
    • dbt docs: generate dbt docs by merging production catalog.json, useful in combination with dbt-checkpoint and when using Slim CI
    • dbt sources: generate the dbt source configuration as well as the initial dbt staging model(s) and their corresponding property(yml) files.
    • dbt properties: generate and/or update the properties(yml) file for a given dbt model(sql) file.
    • metadata: generate metadata extract(CSV file) that can be used to collect column types and descriptions and then provided as input inthe the generate sources or generate properties command
    • templates: generate the dbt-coves templates that dbt-coves utilizes with other dbt-coves commands
  • setup: used configure different components of a dbt project.

For a complete list of options, run:

dbt-coves -h
dbt-coves <command> -h

Contributing

If you're interested in contributing to the development of dbt-coves, please refer to the Contributing Guidelines. This document outlines the process for submitting bug reports, feature requests, and code contributions.

Metrics

Maintenance PyPI version fury.io Code Style Imports: python Build

Maintainability Downloads

Project details


Release history Release notifications | RSS feed

This version

1.8.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt_coves-1.8.1.tar.gz (67.7 kB view details)

Uploaded Source

Built Distribution

dbt_coves-1.8.1-py3-none-any.whl (88.9 kB view details)

Uploaded Python 3

File details

Details for the file dbt_coves-1.8.1.tar.gz.

File metadata

  • Download URL: dbt_coves-1.8.1.tar.gz
  • Upload date:
  • Size: 67.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1022-azure

File hashes

Hashes for dbt_coves-1.8.1.tar.gz
Algorithm Hash digest
SHA256 a2d6ba907a9fe0635f5e541d9807794fcafcbeaf6674142abfcf65d02fe1d920
MD5 d8b34e3931a38a5de525f70a567df2ed
BLAKE2b-256 3258418e6ced2978ac88e779019199d92f676eb9a40db19792bdafcb9897cea4

See more details on using hashes here.

File details

Details for the file dbt_coves-1.8.1-py3-none-any.whl.

File metadata

  • Download URL: dbt_coves-1.8.1-py3-none-any.whl
  • Upload date:
  • Size: 88.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1022-azure

File hashes

Hashes for dbt_coves-1.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a6551573656dc6fc992e75670c03f5974134ef10a4b0d9a1483e20f9c51100bc
MD5 5dc7e946b328ea412f6307584725a8c2
BLAKE2b-256 065ab7b62fb775fa06eeef2daa24e603e3eadaf6e0e75f0e9a9b58f23bab847f

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