arrow-odbc
Read the data of an ODBC data source as sequence of Apache Arrow record batches.
Decision gist · record as of 2026-08-14
Yes, if you need to read from ODBC data sources and want efficient columnar access. The MIT license, active maintenance, and prebuilt wheels make it low-friction for most platforms. Install friction is moderate due to the system ODBC driver manager requirement, but this is a one-time setup. No known vulnerabilities. Suitable for production use in data pipelines and analytics workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- System ODBC driver manager must be installed (unixodbc-dev on Ubuntu, UnixODBC on macOS via homebrew, preinstalled on Windows).
- Requires Python >= 3.10.
- Medium install friction due to system-level ODBC driver manager dependency (unixodbc-dev on Linux, UnixODBC via homebrew on macOS, preinstalled on Windows).
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.
last release 2026-06-19 (56 days) · last repo commit 2026-08-10 · 77 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 185,987 downloads/mo, #9,997 on PyPI
Alternatives
Verify before relying
pip install arrow-odbc
from arrow_odbc import connect
connection = connect(
connection_string="Driver={ODBC Driver 18 for SQL Server};Server=localhost;",
user="SA",
password="password",
)
reader = connection.read_arrow_batches(query="SELECT * FROM MyTable")
for batch in reader:
df = batch.to_pandas()- Performance characteristics compared to direct database drivers or other Arrow connectors in typical workloads.
- Completeness of ODBC driver support across different database systems and edge cases.
- Stability and maturity level for production use in high-throughput scenarios.
What it is and what it does
arrow-odbc bridges ODBC data sources and Apache Arrow by reading SQL query results directly into Arrow record batches. It wraps a Rust crate and uses cffi to bind Python with efficient bulk-read operations, avoiding serialization overhead. The package handles type mapping between ODBC and Arrow schemas (e.g., SQL Numeric to Decimal128, Timestamp to TimestampNanosecond) and supports parameterized queries.
Typical workflows involve querying any ODBC-accessible database—MySQL, MS SQL, Excel, etc.—and receiving data as Arrow batches that can be converted to pandas DataFrames or processed in columnar form. It also supports inserting Arrow data back into tables. The package requires a system-level ODBC driver manager but provides prebuilt wheels for macOS (Intel and ARM), Linux, and Windows, making deployment straightforward once the driver manager is present.
Use it for
- Extract data from SQL Server, MySQL, or other ODBC sources into Arrow for zero-copy analytics pipelines.
- Bulk-insert pandas DataFrames or Arrow tables into databases via ODBC without intermediate serialization.
- Read Excel spreadsheets through ODBC drivers and convert to Arrow for data processing.
- Build ETL workflows that move data between legacy ODBC sources and modern columnar storage.
- Integrate ODBC data access into data science notebooks with efficient memory usage via Arrow batches.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to read from ODBC data sources and want efficient columnar access.
The MIT license, active maintenance, and prebuilt wheels make it low-friction for most platforms. Install friction is moderate due to the system ODBC driver manager requirement, but this is a one-time setup. No known vulnerabilities. Suitable for production use in data pipelines and analytics workflows.
Install
arrow-odbc on PyPI
Before you install
Medium install friction due to system-level ODBC driver manager dependency (unixodbc-dev on Linux, UnixODBC via homebrew on macOS, preinstalled on Windows). Package provides prebuilt wheels for common platforms but requires external system library. Actively maintained with recent releases.
System ODBC driver manager must be installed (unixodbc-dev on Ubuntu, UnixODBC on macOS via homebrew, preinstalled on Windows). Requires Python >= 3.10.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects without licensing concerns.
Quickstart
pip install arrow-odbc
from arrow_odbc import connect
connection = connect(
connection_string="Driver={ODBC Driver 18 for SQL Server};Server=localhost;",
user="SA",
password="password",
)
reader = connection.read_arrow_batches(query="SELECT * FROM MyTable")
for batch in reader:
df = batch.to_pandas()
Verify before relying
- Performance characteristics compared to direct database drivers or other Arrow connectors in typical workloads.
- Completeness of ODBC driver support across different database systems and edge cases.
- Stability and maturity level for production use in high-throughput scenarios.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 2 packagescffipyarrow |
| Maintenance | Actively maintained 56 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 185,987 / month, #9,997 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: arrow_odbc-10.4.2-py3-none-macosx_10_12_x86_64.whl; arrow_odbc-10.4.2-py3-none-macosx_11_0_arm64.whl; arrow_odbc-10.4.2-py3-none-manylinux_2_28_aarch64.whl; arrow_odbc-10.4.2-py3-none-manylinux_2_28_x86_64.whl; arrow_odbc-10.4.2-py3-none-win_amd64.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 › “odbc to arrow conversion”
- arrow-odbcReads data from ODBC data sources directly into Apache Arrow record…
- geoarrow-pyarrowProvides Python bindings for the GeoArrow specification, enabling…
- databricks-sql-connectorA Python client library that connects to Databricks clusters and SQL…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
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.
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.
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.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
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.
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.
See also iomete-sqlalchemy · adbc-driver-manager · pyarrow · fastexcel · pyodbc · pylance · adbc-driver-sqlite · adbc-driver-flightsql · vortex-data · sling