dbt-core-interface
Dbt Core Interface
Decision gist · record as of 2026-08-14
Yes, if you need to embed dbt workflows into Python applications or build custom dbt tooling. The low install friction, permissive license, and active repository make it a reasonable choice. However, maintenance is aging (215 days since release), so verify that the version supports your dbt-core release and that data quality features meet your stability requirements before relying on them in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10+ and dbt-core >= 1.8.0 to be installed and configured with a valid profiles.yml.
- Low install friction with a pure-Python wheel.
- Depends on dbt-core, dbt-adapters, rich, typing-extensions, and requests.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package with minimal legal restriction, provided you include the license notice.
last release 2026-01-11 (215 days) · last repo commit 2026-02-06 · 47 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,028 downloads/mo, #12,532 on PyPI
Alternatives
Verify before relying
pip install dbt-core-interface
from dbt_core_interface import DbtProject
project = DbtProject(project_dir="/path/to/dbt_project")
result = project.execute_sql("SELECT current_date AS today")
print(result.table)- Whether the package's data quality monitoring and generic test library features are production-ready or still experimental.
- Performance characteristics and scalability limits when managing many concurrent projects or large dbt manifests.
- Compatibility with dbt-core versions beyond 1.8 and any breaking changes in recent dbt releases.
What it is and what it does
dbt-core-interface wraps dbt-core (v1.8+) in a Python API that lets you compile, execute, and manage dbt projects entirely in memory without invoking the dbt CLI. It hydrates dbt's RuntimeConfig, resolves refs and sources, renders Jinja macros, and integrates SQLFluff for linting and formatting—all callable from Python code or exposed via a FastAPI server.
The package supports multiple projects simultaneously through DbtProjectContainer, background file watching for auto-reparsing, and direct dbt command passthrough (run, test, docs serve). It also includes data quality monitoring with check types like RowCountCheck and NullPercentageCheck, plus a generic test library for schema validation. Typical use cases include building custom dbt tooling, embedding dbt workflows in Python applications, and prototyping dbt extensions outside the core repository.
Use it for
- Build a FastAPI service that compiles and lints dbt SQL on demand without spawning dbt CLI processes.
- Programmatically execute dbt models and tests from Python, capturing results for custom reporting or alerting.
- Manage multiple dbt projects in a single Python process, switching contexts and running checks across them.
- Integrate dbt compilation and macro rendering into a custom IDE or editor plugin.
- Implement automated data quality checks and webhook-based alerts on model outputs.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to embed dbt workflows into Python applications or build custom dbt tooling.
The low install friction, permissive license, and active repository make it a reasonable choice. However, maintenance is aging (215 days since release), so verify that the version supports your dbt-core release and that data quality features meet your stability requirements before relying on them in production.
Install
dbt-core-interface on PyPI
Before you install
Low install friction with a pure-Python wheel. Depends on dbt-core, dbt-adapters, rich, typing-extensions, and requests. Maintenance status is aging (215 days since last release), though the repository remains active and unarchived.
Requires Python 3.10+ and dbt-core >= 1.8.0 to be installed and configured with a valid profiles.yml.
License in practice
MIT license is permissive; you can use, modify, and distribute this package with minimal legal restriction, provided you include the license notice.
Quickstart
pip install dbt-core-interface
from dbt_core_interface import DbtProject
project = DbtProject(project_dir="/path/to/dbt_project")
result = project.execute_sql("SELECT current_date AS today")
print(result.table)
Verify before relying
- Whether the package's data quality monitoring and generic test library features are production-ready or still experimental.
- Performance characteristics and scalability limits when managing many concurrent projects or large dbt manifests.
- Compatibility with dbt-core versions beyond 1.8 and any breaking changes in recent dbt releases.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <3.14,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesdbt-coredbt-adaptersrichtyping-extensionsrequests |
| Maintenance | Aging 215 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 109,028 / month, #12,532 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - Beta |
Evidence: dbt_core_interface-1.1.7-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “dbt core python interface”
- dbt-core-interfaceProvides a lightweight Python interface to dbt-core (v1.8+) for…
- dbt-adaptersProvides base adapter protocols and shared functionality that…
- dbt-core-experimental-parserExperimental parser for dbt Core v2.0 (alpha), a ground-up Rust…
Give your agent the search over MCP, or paste the wish link into any chat.
More Build Tools packages
Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.
Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.
Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.
pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.
Install it if your team needs consistent, automated validation at commit time.
See also dbt-core · sqlfluff-templater-dbt · dbt-core-experimental-parser · dbt-adapters · dbt-loom · dbt-sqlserver · dbt-osmosis · dbt-semantic-interfaces · dbt-metricflow · dbt-common