dbt-athena
The athena adapter plugin for dbt (data build tool)
Decision gist · record as of 2026-08-14
Yes. dbt-athena is actively maintained, has low install friction, supports current Python versions (3.10–3.13), carries no known vulnerabilities, and uses a permissive license. It is the standard way to integrate dbt workflows with Athena. Install it if you use dbt and need to transform data in Athena.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires AWS credentials (via aws cli, boto3 conventions, or explicit keys) and an existing S3 bucket and Athena database.
- Low install friction; pure Python wheel with 9 runtime dependencies.
- Actively maintained with a release 29 days ago and recent commits.
License · maintenance · safety
permissive license (permissive) — Permissive license treatment allows use in commercial and proprietary projects without restriction.
last release 2026-07-16 (29 days) · last repo commit 2026-08-14 · 231 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,159,960 downloads/mo, #4,285 on PyPI
Alternatives
Verify before relying
pip install dbt-athena
In profiles.yml:
athena:
target: dev
outputs:
dev:
type: athena
schema: my_schema
database: awsdatacatalog
region_name: us-west-2
s3_staging_dir: s3://my-bucket/dbt/- Whether dbt version 1.7.* constraint applies to all use cases or only specific features.
- Performance characteristics for large-scale incremental models on Hive vs. Iceberg tables.
- Compatibility with dbt Cloud beyond dbt Core.
What it is and what it does
dbt-athena is a plugin that connects dbt to Amazon Athena, allowing data engineers to write SQL and Python transformations that execute in Athena. It handles the translation of dbt's model definitions, incremental logic, and snapshots into Athena-compatible DDL and DML, managing query execution, result polling, and metadata updates through boto3 and pyathena.
The adapter supports both Hive and Iceberg table formats, with Iceberg requiring Athena Engine v3 and a unique table location. It integrates with AWS Glue for metadata management, supports incremental models with different merge strategies depending on table type, and can run Python models through Athena Spark workgroups. Configuration is handled through dbt profiles, with options for S3 staging directories, retry policies, workgroup selection, and AWS Lake Formation tagging.
Use it for
- Build incremental fact tables in Athena using dbt's merge or append strategies, with automatic query retry and state management.
- Create snapshots of slowly-changing dimensions in Athena using timestamp or check strategies for historical tracking.
- Run Python-based data transformations in Athena via Spark workgroups, integrated into a dbt DAG.
- Manage Iceberg table format in Athena with dbt's table materialization and incremental model support.
- Organize raw S3 data into Athena databases with dbt seeds and models, leveraging Glue catalog integration.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
dbt-athena is actively maintained, has low install friction, supports current Python versions (3.10–3.13), carries no known vulnerabilities, and uses a permissive license. It is the standard way to integrate dbt workflows with Athena. Install it if you use dbt and need to transform data in Athena.
Install
dbt-athena on PyPI
Before you install
Low install friction; pure Python wheel with 9 runtime dependencies. Actively maintained with a release 29 days ago and recent commits. Supports Python 3.10 through 3.13.
Requires AWS credentials (via aws cli, boto3 conventions, or explicit keys) and an existing S3 bucket and Athena database.
License in practice
Permissive license treatment allows use in commercial and proprietary projects without restriction.
Quickstart
pip install dbt-athena
In profiles.yml:
athena:
target: dev
outputs:
dev:
type: athena
schema: my_schema
database: awsdatacatalog
region_name: us-west-2
s3_staging_dir: s3://my-bucket/dbt/
Verify before relying
- Whether dbt version 1.7.* constraint applies to all use cases or only specific features.
- Performance characteristics for large-scale incremental models on Hive vs. Iceberg tables.
- Compatibility with dbt Cloud beyond dbt Core.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagesboto3-stubsboto3dbt-adaptersdbt-commondbt-coremmh3pyathenapydantictenacity |
| Maintenance | Actively maintained 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,159,960 / month, #4,285 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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.13 |
Evidence: dbt_athena-1.11.0-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 › “amazon athena data transformation”
- dbt-athenadbt-athena is a dbt adapter that enables data transformation…
- PyAthenaPyAthena is a Python DB API 2.0 client for Amazon Athena that lets…
- pyathenajdbcPyAthenaJDBC wraps the Amazon Athena JDBC driver to provide a Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Front-Ends packages
SQLAlchemy is a Python SQL toolkit and Object Relational Mapper (ORM) that provides both a high-level ORM layer for declarative object persistence and a Core SQL construction system for direct database abstraction and query building.
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.
Alembic generates and manages database schema migrations for SQLAlchemy applications, handling version control of database structure changes with support for upgrades, downgrades, and auto-generation from model changes.
Install it if you use SQLAlchemy and need to version-control schema changes; skip it only if you manage migrations manually or use a different ORM entirely.
A Python client library for connecting to and querying Weaviate, a vector database that enables semantic search and AI-powered data retrieval.
A Python client library that connects to Databricks clusters and SQL warehouses using a Thrift-based protocol, conforming to the Python DB API 2.0 specification and supporting Arrow-based data exchange.
Install it if you need to query Databricks clusters or SQL warehouses from Python.
Psycopg 3 is a PostgreSQL database adapter for Python that enables applications to connect to, query, and manage PostgreSQL databases using Python code.
Install it if you need to connect Python to PostgreSQL.
See also dbt-athena-community · PyAthena · dbt-redshift · dbt-spark · dbt-bigquery · dbt-duckdb · pythena · dbt-postgres · dbt-snowflake · awswrangler