Skip to main content

A dbt pipeline converter to Argo Workflows

Project description

dbt-argo

PyPI - Version

A simple Python package to parse dbt dependencies to create an Argo Workflow job. It can also submit Argo files directly to the server.

Motivations

Simplify CI steps to create Argo workflow for dbt projects.

Limitations

  • This version only support Google Cloud Storage as backend to store dbt artifacts to be used by Argo as artifacts.
  • This version only support CronWorkflow and Workflow generation

Usage

By default, it assumes the dbt_project.yml file is located at the root folder, if not the DBT_PROJECT_DIR can be defined to locate the project path.

Usage: dbt-argo [OPTIONS] COMMAND [ARGS]...

  Test

Options:
  --help  Show this message and exit.

Commands:
  cp      copy local folder to GCS Bucket
  create  Create a dbt Argo Workflow
  cron    Manage cron workflow
  submit  dbt-argo deploy {FILE}

Inspirations

  • Hera for Argo Python CLI + pydantic validation objects
  • couler for easy cluster submission (like kubectl apply -f ...)
  • dbt > 1.5 for easy manifest parsing directly in python scripts
  • Argo CLI for cli options
  • kubectl for simple CLI application
  • cloudpathlib to deal with cloud file like pathlib

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

dbt_argo-0.2.0a4.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

dbt_argo-0.2.0a4-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file dbt_argo-0.2.0a4.tar.gz.

File metadata

  • Download URL: dbt_argo-0.2.0a4.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.14 Darwin/22.5.0

File hashes

Hashes for dbt_argo-0.2.0a4.tar.gz
Algorithm Hash digest
SHA256 4f988abf9ab71b2441ca0965ae3a0597e1817433b7e9e1f48d015d0caa6ba82c
MD5 51ff85c037f9238833b8d456e07cfafa
BLAKE2b-256 87fa73c2ff9dc0c7b36261054a085ce18e53543feb456436f707ca56ab6a402f

See more details on using hashes here.

File details

Details for the file dbt_argo-0.2.0a4-py3-none-any.whl.

File metadata

  • Download URL: dbt_argo-0.2.0a4-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.9.14 Darwin/22.5.0

File hashes

Hashes for dbt_argo-0.2.0a4-py3-none-any.whl
Algorithm Hash digest
SHA256 18fe474d3eabdfe9d9c0b53615c6a52bccf74a0617c96be9c90eda7e3b7d26b1
MD5 e91d2154e38e850ca9da5c81a3e3fb0c
BLAKE2b-256 aa08fade92c300d1e9d208ea660bdc8c07809a855b46917a34cb2c19915626f1

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