Using the Python API

While dbt is invocable from the command line, it is possible to import and invoke dbt as a Python module. This API is presently undocumented and is liable to change in the future. Please use caution when upgrading across versions of dbt if you choose to run dbt in this manner!