skillfed

airflow-dbt

Apache Airflow integration for dbt

airflow-dbt v0.4.0 538.9K downloads/30d#6,111 on PyPI415
Permissive license MIT Abandoned released

What it is and what it does

airflow-dbt is a collection of Airflow operators that wrap dbt command-line operations, allowing you to orchestrate dbt workflows (seed, snapshot, run, test, docs generate, deps) as tasks in Airflow DAGs. Each operator accepts arguments like profiles_dir, target, models, exclude, select, and vars to pass through to the underlying dbt command, and can be chained together to form a complete data transformation pipeline.

The package depends only on apache-airflow and assumes dbt CLI is available on the system PATH or can be specified via the dbt_bin argument. It is designed to integrate with Airflow's task scheduling and retry logic, and includes a hook for combining dbt commands with other tasks in the same operator.

Use it for:

  • Schedule dbt seed, snapshot, run, and test operations as daily or hourly Airflow tasks within a larger data pipeline
  • Orchestrate dbt model selection and exclusion logic through Airflow parameters without modifying dbt code
  • Chain dbt docs generation with downstream tasks that upload documentation to a web server or artifact store
  • Integrate dbt transformations into multi-step Airflow DAGs alongside data ingestion, validation, and reporting tasks

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides Airflow operators that wrap dbt CLI commands (seed, snapshot, run, test, docs generate, deps) to orchestrate dbt workflows within Airflow DAGs.

No. The package is abandoned (last release 2021-09-03, repository archived) and will not receive maintenance, security updates, or compatibility fixes for newer Airflow or dbt versions. Consider using actively maintained alternatives before adopting this package.

Install

airflow-dbt on PyPI

pip

pip install airflow-dbt

uv

uv add airflow-dbt

poetry

poetry add airflow-dbt

Installing airflow-dbt

Before you install

Low install friction with a single runtime dependency on apache-airflow. However, the package is abandoned with no updates since the latest release on 2021-09-03, and the repository is archived—expect no maintenance, bug fixes, or compatibility updates.

License in practice

MIT license permits use, modification, and distribution with minimal restrictions, making it suitable for commercial and open-source projects alike.

Quickstart

pip install airflow-dbt

from airflow_dbt.operators.dbt_operator import DbtRunOperator, DbtTestOperator
from airflow import DAG

with DAG(dag_id='dbt') as dag:
    dbt_run = DbtRunOperator(task_id='dbt_run', dir='/path/to/dbt')
    dbt_test = DbtTestOperator(task_id='dbt_test', dir='/path/to/dbt')
    dbt_run >> dbt_test

dbt CLI must be installed and available on PATH or specified via dbt_bin argument; apache-airflow must be installed and configured.

Verify before relying

  • Whether operators remain compatible with current Airflow and dbt CLI versions given the maintenance gap since 2021-09-03
  • Whether dbt CLI must be pre-installed separately or is bundled as a dependency

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — apache-airflow
Maintenance abandoned — 1,806 days since the last release
Last repo commit (repository archived)
First released
Downloads 538,893/month — #6,111 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: airflow_dbt-0.4.0-py2.py3-none-any.whl

Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.7

Tags

airflow dbt operatorsdbt integration airfloworchestrate dbt with airflowdbt task operatorsairflow dbt pipelinedbt run test operatorsairflow data transformation
abandonedairflow-integrationdbt-orchestration

More Build Tools packages

packaging

Provides reusable utilities for Python…

permissive · top 100 on PyPI

tqdm

Wraps any iterable to display a real-time…

copyleft · top 100 on PyPI

pip

pip is the standard installer for Python…

permissive · top 100 on PyPI

hatchling

Hatchling is a standards-compliant Python build…

permissive · top 100 on PyPI

grpcio-tools

Generates Python gRPC service stubs and message…

permissive · top 1,000 on PyPI

pre-commit

pre-commit is a framework for installing and…

permissive · top 1,000 on PyPI

airflow-dbt-python

Provides Airflow operators, hooks, and…

permissive · top 15,000 on PyPI

astronomer-cosmos

Renders dbt Core projects as Apache Airflow…

permissive · top 5,000 on PyPI

airflow-mcd

Integrates Monte Carlo data observability into…

permissive · top 15,000 on PyPI

apache-airflow-providers-dbt-cloud

Integrates dbt Cloud with Apache Airflow,…

permissive · top 5,000 on PyPI

apache-airflow-providers-arangodb

Integrates ArangoDB with Apache Airflow,…

permissive · top 15,000 on PyPI

apache-airflow-providers-git

Integrates Git version control operations into…

permissive · top 15,000 on PyPI

dbt

A command-line interface for running dbt…

unclear · top 15,000 on PyPI

apache-airflow-microsoft-fabric-plugin

Enables Apache Airflow DAGs to trigger…

unclear · top 5,000 on PyPI

airflow-provider-hightouch

Provides Airflow operators and hooks to trigger…

permissive · top 15,000 on PyPI

apache-airflow-providers-microsoft-fabric

Provides Apache Airflow operators to trigger,…

unclear · top 5,000 on PyPI