dbt-osmosis

1.3.0 · active · verified Thu Apr 16

dbt-osmosis is a Python CLI and package designed to enhance dbt development workflows by automating schema YAML management, column-level documentation inheritance, and providing ad-hoc SQL compile/run helpers. It aims to reduce manual toil and enforce consistency in dbt projects. The library is actively maintained, with version 1.3.0 supporting Python 3.10-3.13 and dbt Core 1.8+. It maintains a regular release cadence, addressing compatibility with newer dbt Core versions.

Common errors

Warnings

Install

Quickstart

dbt-osmosis is primarily a CLI tool. To get started, configure YAML routing in your `dbt_project.yml` and then run the `yaml refactor` command. The `--dry-run --check` flags are recommended for a safe preview before applying changes with `--auto-apply`.

dbt_project.yml:
  your_project_name:
    +dbt-osmosis: "_{model}.yml"

# Run a dry run to see proposed changes
dbt-osmosis yaml refactor --dry-run --check

# Apply changes automatically
dbt-osmosis yaml refactor --auto-apply

view raw JSON →