dbt-state
dbt plugin that skips redundant model executions by caching results from previous runs
What it is and what it does
dbt-state is a plugin for dbt that accelerates data transformation pipelines by caching model execution results and skipping runs that would produce identical outputs. It integrates into the dbt ecosystem and uses prior run state to determine which models need to execute, reducing redundant computation and shortening build times.
The plugin depends on dbt-core and a suite of supporting libraries including protobuf for serialization, grpcio for communication, and query-cache utilities for state management. It is actively maintained and requires Python 3.9 or later. The Apache 2.0 license permits use in commercial and proprietary projects.
Use it for:
- Accelerate CI/CD pipelines by skipping model rebuilds when upstream data hasn't changed.
- Reduce cloud data warehouse costs by avoiding redundant SQL execution on unchanged models.
- Speed up local development iteration by caching intermediate model results across dbt runs.
- Enable incremental dbt workflows where only affected downstream models are recomputed after source updates.
- Optimize scheduled dbt jobs by detecting and skipping models with no new input data.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
dbt-state is a dbt plugin that caches model execution results and skips redundant runs, reducing build time by reusing prior outputs.
Yes, if you run dbt pipelines frequently and want to reduce execution time and compute costs. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe choice. Verify dbt-core compatibility and review how caching integrates with your workflow before deploying to production.
Install
dbt-state on PyPI
pip
pip install dbt-stateuv
uv add dbt-statepoetry
poetry add dbt-stateInstalling dbt-state
Before you install
Low install friction with a pure-Python wheel. Active maintenance as of 2026-08-14. Requires dbt-core and 16 runtime dependencies including protobuf, grpcio, and query-cache libraries; verify compatibility with your dbt version before installing.
License in practice
Apache License 2.0 permits commercial use, modification, and redistribution with attribution. You may use this in proprietary projects provided you include the license and document changes.
Quickstart
pip install dbt-state
# After installation, dbt-state integrates as a dbt plugin
# and is invoked through dbt commands that reference cached state
Requires Python >=3.9.0 and dbt-core to be installed; dbt-state acts as a plugin within the dbt ecosystem, not a standalone tool.
Verify before relying
- How dbt-state integrates with existing dbt workflows and whether it requires configuration changes to dbt_project.yml or profiles.yml.
- Whether the cache is stored locally, remotely, or both, and what storage backends are supported.
- Performance improvement metrics or benchmarks for typical dbt projects.
- Compatibility matrix with specific dbt-core versions and whether breaking changes exist between releases.
Package facts
| License | Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.9.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 16 — aenum, authlib, click, dacite, dbt-core, grpcio, humanize, protobuf, pytimeparse2, pyyaml, query-cache-common, query-cache-protobuf, requests, rich, sqlglot, typing-extensions |
| Maintenance | actively maintained — 0 days since the last release |
| First released | |
| Downloads | 679,147/month — #5,372 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: dbt_state-2.43.1-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
django-memoizeCaches function and method results in Django…
permissive · top 15,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
django-cachalotAutomatically caches Django ORM queries and…
permissive · top 15,000 on PyPI
dbt-oracledbt-oracle is a dbt adapter that enables data…
permissive · top 15,000 on PyPI
dbt-gluedbt-glue is a dbt adapter that enables running…
permissive · top 15,000 on PyPI
dbt-loomdbt-loom is a dbt Core plugin that fetches…
unclear · top 15,000 on PyPI
dbt-fusion-package-toolsUpgrades dbt package dependencies to versions…
unclear · top 15,000 on PyPI
dbt-clickhouseA dbt adapter that enables data transformation…
permissive · top 5,000 on PyPI
dbt-coredbt-core transforms raw data in a warehouse…
permissive · top 1,000 on PyPI
doitdoit is a Python-based task automation and…
permissive · top 5,000 on PyPI