apache-airflow-providers-odbc
Provider package apache-airflow-providers-odbc for Apache Airflow
What it is and what it does
This is an Apache Airflow provider package that adds ODBC database support to Airflow workflows. It wraps pyodbc to deliver operators and hooks that let you define Airflow tasks that execute SQL queries against any ODBC-compatible database—SQL Server, PostgreSQL via ODBC, MySQL, and others—on a schedule or as part of a larger DAG. The package integrates with Airflow's connection management and common SQL provider framework, so you configure your ODBC connection once in Airflow and reference it by name in your tasks.
Installation is straightforward: it's a pure Python wheel with low friction, depending only on Apache Airflow, two common Airflow provider packages, and pyodbc itself. The package is actively maintained, supports Python 3.10 through 3.14, and carries no known security vulnerabilities. It's aimed at data engineers and system administrators building scheduled data pipelines that need to read from or write to ODBC databases.
Use it for:
- Schedule daily SQL queries against a corporate SQL Server database and load results into a data warehouse.
- Build a multi-step ETL pipeline where one task extracts data via ODBC and passes it to downstream transformation tasks.
- Monitor database health by running periodic ODBC queries and alerting on anomalies.
- Synchronize data between an ODBC source and a cloud data lake on a fixed schedule.
- Integrate legacy database systems (accessible only via ODBC) into modern Airflow-based data workflows.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides ODBC database connectivity operators and hooks for Apache Airflow workflows, enabling scheduled tasks to query and interact with ODBC-compatible databases.
Yes. This is a stable, actively maintained provider package for a common use case—ODBC database integration in Airflow. Install friction is low, the license is permissive, there are no known vulnerabilities, and it supports current Python versions. Install it if you need to orchestrate ODBC database tasks in Airflow; skip it if you don't use Airflow or don't need ODBC connectivity.
Install
apache-airflow-providers-odbc on PyPI
pip
pip install apache-airflow-providers-odbcuv
uv add apache-airflow-providers-odbcpoetry
poetry add apache-airflow-providers-odbcInstalling apache-airflow-providers-odbc
Before you install
Low friction installation as a pure Python wheel. Actively maintained with recent releases; requires Apache Airflow 2.11.0 or later and pyodbc 5.0.0+ (5.2.0+ for Python 3.13+).
License in practice
Apache License 2.0 (permissive) — you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install apache-airflow-providers-odbc
from airflow.providers.odbc.operators.odbc import ODBCOperator
task = ODBCOperator(
task_id='query_odbc_db',
sql='SELECT * FROM table',
odbc_conn_id='my_odbc_connection'
)
Requires an existing Apache Airflow installation (2.11.0+) and a system ODBC driver configured for your target database.
Verify before relying
- Which specific ODBC-compatible databases are officially tested or recommended.
- Whether the package includes connection pooling or retry logic beyond pyodbc's native capabilities.
- Performance characteristics for large result sets or long-running queries.
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — apache-airflow, apache-airflow-providers-common-compat, apache-airflow-providers-common-sql, pyodbc |
| Maintenance | actively maintained — 68 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,982,575/month — #3,386 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: apache_airflow_providers_odbc-4.12.3-py3-none-any.whl
Keywords: airflow-provider, odbc, airflow, integration
Tags
More Monitoring packages
Wraps any iterable to display a real-time…
copyleft · top 100 on PyPI
opentelemetry-semantic-conventionsProvides generated Python code for…
permissive · top 100 on PyPI
opentelemetry-sdkProvides the reference implementation of the…
permissive · top 100 on PyPI
opentelemetry-apiProvides the abstract API and interfaces for…
permissive · top 100 on PyPI
opentelemetry-exporter-otlp-proto-httpExports OpenTelemetry observability data to an…
permissive · top 1,000 on PyPI
opentelemetry-instrumentationProvides automatic instrumentation commands and…
permissive · top 1,000 on PyPI
apache-airflow-providers-microsoft-mssqlIntegrates Microsoft SQL Server (MSSQL) with…
permissive · top 5,000 on PyPI
apache-airflow-providers-apache-drillProvides Apache Airflow integration for Apache…
permissive · top 15,000 on PyPI
apache-airflow-providers-ydbIntegrates YDB (a distributed SQL database)…
permissive · top 15,000 on PyPI
apache-airflow-providers-jdbcProvides Apache Airflow integration for…
permissive · top 5,000 on PyPI
apache-airflow-providers-common-sqlProvides common SQL operators, hooks, and…
permissive · top 1,000 on PyPI
airflow-clickhouse-pluginProvides Apache Airflow operators and hooks to…
permissive · top 15,000 on PyPI
apache-airflow-providers-sqliteIntegrates SQLite databases with Apache Airflow…
permissive · top 5,000 on PyPI
apache-airflow-providers-informaticaProvides Apache Airflow integration operators…
permissive · top 15,000 on PyPI
apache-airflow-providers-mysqlIntegrates Apache Airflow with MySQL databases,…
permissive · top 5,000 on PyPI
apache-airflow-providers-apache-impalaIntegrates Apache Impala with Apache Airflow,…
permissive · top 5,000 on PyPI