DEV Community

adrian
adrian

Posted on

How to run dbt from python, with dlt's core and cloud runners

We created open source dbt runners to enable easy running of dbt from python

Here is the blog post about the use cases:
dbt runners use cases

Here are the docs to use the 2 runners:

dbt core runner

  • Supports creating venv on the fly and installing dbt, copying the code and running the package in it.
  • Supports passing credentials via dlt's credentials, which support also directly passing them in python.
  • Can run code from local or public online repo.

dbt cloud runner

  • Supports starting an existing job and waiting for it to end

Top comments (0)