Skip to main content

Dagster automation driven by dbt metadata (Luban CI)

Project description

dbt-dagsterizer

dbt-dagsterizer is a Python package for building Dagster automation from dbt metadata.

It is designed to keep Dagster code locations mostly static, while letting developers declare orchestration intent in a small, reviewable YAML file alongside the dbt project.

Documentation

Quick start

CLI

dbt-dagsterizer --help

Initialize orchestration intent and refresh the dbt manifest:

dbt-dagsterizer meta init --dbt-project-dir dbt_project --parse
dbt-dagsterizer meta validate --dbt-project-dir dbt_project --prepare

Python

from dbt_dagsterizer.api import build_definitions

defs = build_definitions(dbt_project_dir="./dbt_project")

If the project has no dbt models yet (no models/**/*.sql), build_definitions() still returns a minimal, always-loadable Definitions.

Development

Setup:

uv sync --dev

Run tests:

uv run pytest

Lint:

uv run ruff check .

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_dagsterizer-0.1.1.tar.gz (168.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dbt_dagsterizer-0.1.1-py3-none-any.whl (234.9 kB view details)

Uploaded Python 3

File details

Details for the file dbt_dagsterizer-0.1.1.tar.gz.

File metadata

  • Download URL: dbt_dagsterizer-0.1.1.tar.gz
  • Upload date:
  • Size: 168.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.14

File hashes

Hashes for dbt_dagsterizer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 b6816cbb70e394b3f9062a95a9cf476b5e4a0a4eaf6057c55a1099b7b92f8e32
MD5 d04a4fd9222b1c1845773bde417e340e
BLAKE2b-256 c757633bce3cced107548e489b2b2607665d457b94f141919a650f1af0b8d707

See more details on using hashes here.

File details

Details for the file dbt_dagsterizer-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for dbt_dagsterizer-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3731da5a44361e5fb130f5f044a9022535d6bf7057bff3a8827907ec28fbf496
MD5 765f7899effce7f307db0f517d4954c8
BLAKE2b-256 04cad807d95028f3267d65cb7312e36bf9ba1fc5775a7ce8b9fc536f2ac327d7

See more details on using hashes here.

Supported by

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