Skip to main content

Python models

dbt Core v1.3 adds support for Python models. Note that only specific data platforms support dbt-py models.

We encourage you to:

Overview

dbt Python (dbt-py) models can help you solve use cases that can't be solved with SQL. You can perform analyses using tools available in the open-source Python ecosystem, including state-of-the-art packages for data science and statistics. Before, you would have needed separate infrastructure and orchestration to run Python transformations in production. Python transformations defined in dbt are models in your project with all the same capabilities around testing, documentation, and lineage.

0