$npx skillfedfor your agent

dbt-postgres

The set of adapter protocols and base functionality that supports integration with dbt-core

Worth itPyPI DatabaseReleased Jul 20267.1M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — dbt_postgres-1.11.0-py3-none-any.whl
v1.11.0 · released 2026-07-16 · Python >=3.10.0 · 5 runtime deps: agate, dbt-adapters, dbt-common, dbt-core, psycopg2-binary

Yes. dbt-postgres is actively maintained, has no known vulnerabilities, installs with low friction, and is the standard way to use dbt with PostgreSQL. Install it if you are building or maintaining data transformation pipelines in Postgres and want version control, testing, and documentation for your SQL logic. Consider compiling psycopg2 from source in production for better performance.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • PostgreSQL connection credentials must be configured in dbt profiles.yml before running transformations.
  • Low install friction with a pure-Python wheel.

License · maintenance · safety

permissive license (permissive) — Licensed under Apache Software License (permissive), allowing commercial use, modification, and distribution with minimal restrictions.

last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 231 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 7,080,609 downloads/mo, #1,790 on PyPI

Verify before relying

pip install dbt-postgres

import dbt.adapters.postgres

# Configure dbt_project.yml with postgres profile, then run:
# dbt run
  • Whether psycopg2-binary's pre-built wheel is sufficient for typical development workflows or if source compilation is routinely needed
  • Performance characteristics and typical latency for transformation jobs on various data volumes
Same gist for agents: .md · .json

What it is and what it does

dbt-postgres is the PostgreSQL adapter for dbt, the transformation tool that brings software engineering practices to data analytics. It enables you to write, test, and version-control SQL transformations as code, turning raw warehouse data into analysis-ready tables through dbt's templating, testing, and documentation framework.

The package bundles dbt-core with PostgreSQL-specific connection handling, dependency resolution, and query execution. It ships with psycopg2-binary by default for frictionless local development, though the documentation recommends compiling psycopg2 from source in production for performance gains. The adapter supports Python 3.10 through 3.14 and is actively maintained.

Use it for

  • Build modular, testable SQL transformation pipelines in PostgreSQL without writing boilerplate connection code
  • Version-control and document data warehouse schemas as code alongside your analytics logic
  • Implement data quality tests and lineage tracking for tables transformed from raw warehouse data
  • Organize complex multi-step transformations (denormalization, filtering, aggregation) as a DAG of interdependent models
  • Migrate transformation logic between environments (dev, staging, production) using dbt profiles

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

dbt-postgres is actively maintained, has no known vulnerabilities, installs with low friction, and is the standard way to use dbt with PostgreSQL. Install it if you are building or maintaining data transformation pipelines in Postgres and want version control, testing, and documentation for your SQL logic. Consider compiling psycopg2 from source in production for better performance.

Install

dbt-postgres on PyPI

Before you install

Low install friction with a pure-Python wheel. Actively maintained with a release 29 days ago. Depends on dbt-core, dbt-adapters, dbt-common, agate, and psycopg2-binary; the description notes that psycopg2-binary is convenient for development but recommends building psycopg2 from source for production performance.

Requires Python 3.10 or later. PostgreSQL connection credentials must be configured in dbt profiles.yml before running transformations.

License in practice

Licensed under Apache Software License (permissive), allowing commercial use, modification, and distribution with minimal restrictions.

Quickstart

pip install dbt-postgres

import dbt.adapters.postgres

# Configure dbt_project.yml with postgres profile, then run:
# dbt run

Verify before relying

  • Whether psycopg2-binary's pre-built wheel is sufficient for typical development workflows or if source compilation is routinely needed
  • Performance characteristics and typical latency for transformation jobs on various data volumes

Package facts

Licensepermissive license permissive
Python supportSupports the current Python release >=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
5 packages
agatedbt-adaptersdbt-commondbt-corepsycopg2-binary
MaintenanceActively maintained 29 days since the last release
Last repo commit
First released
Downloads7,080,609 / month, #1,790 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: dbt_postgres-1.11.0-py3-none-any.whl

Tags

Capabilities
dbt postgres adaptertransform data in postgresdbt database integrationelt tool postgresdata warehouse transformationsql transformation frameworkpostgres dbt connector
Topics
data-transformationelt-toolpostgres-adapter
PyPI keywords
adapteradaptersdatabasedbtdbt Clouddbt Coredbt Labsdbt-coreeltpostgres

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 postgres adapter”

  • dbt-postgresdbt-postgres is a dbt adapter that connects dbt to PostgreSQL…
  • dbt-adaptersProvides base adapter protocols and shared functionality that…
  • dbt-commonProvides shared utilities and common code used by dbt-core and dbt…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also dbt-bigquery · dbt-exasol · dbt-snowflake · dbt-oracle · dbt-spark · dbt-redshift · dbt-core · dbt-glue · dbt-dremio