aioodbc
ODBC driver for asyncio.
Decision gist · record as of 2026-08-14
Yes, if you need async access to ODBC databases and are comfortable with the dormant maintenance status. The package is stable, has no known vulnerabilities, and the API is mature. However, if you require active maintenance or are starting a new greenfield project, consider whether a more actively maintained async driver for your specific database might be a better fit.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires unixODBC library and a corresponding ODBC driver installed on the system (e.g., libsqliteodbc for SQLite).
- Low friction install with a single runtime dependency (pyodbc).
- Maintenance is dormant—last release was 2023-10-28 over a year ago—but the repository remains active and the package is stable enough for production use in async contexts.
License · maintenance · safety
Apache 2 (permissive) — Licensed under Apache 2 (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.
last release 2023-10-28 (1021 days) · last repo commit 2023-10-28 · 326 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,672,711 downloads/mo, #3,665 on PyPI
Alternatives
Verify before relying
pip install aioodbc
import asyncio
import aioodbc
async def query():
conn = await aioodbc.connect(dsn="Driver=SQLite;Database=db.db")
cur = await conn.cursor()
await cur.execute("SELECT 42;")
rows = await cur.fetchall()
await cur.close()
await conn.close()
asyncio.run(query())- Whether the dormant maintenance status poses risk for future Python or asyncio API changes.
- Performance characteristics compared to other async database drivers in production workloads.
- Thread pool sizing and tuning guidance for high-concurrency scenarios.
What it is and what it does
aioodbc is an asyncio wrapper around pyodbc that lets you query ODBC databases without blocking the event loop. It uses a thread pool internally to run blocking pyodbc calls, mirroring the approach taken by other async database drivers. The API mirrors pyodbc closely—you use await instead of synchronous calls—so if you know pyodbc, the transition is straightforward.
The package supports connection pooling with optional connection recycling, context managers for safe resource cleanup, and works with both the default asyncio event loop and uvloop. It targets Python 3.7+ and has been tested with versions up to 3.12. Since it delegates to pyodbc, it works with any ODBC data source depending on what drivers you have installed.
Use it for
- Building async web services that need to query legacy ODBC-only databases without blocking.
- Async ETL pipelines that pull data from multiple ODBC sources concurrently.
- Connection pooling for high-concurrency async applications to avoid exhausting system resources.
- Migrating existing pyodbc code to async/await without rewriting database logic.
- Testing async code paths that interact with ODBC databases using context managers.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need async access to ODBC databases and are comfortable with the dormant maintenance status.
The package is stable, has no known vulnerabilities, and the API is mature. However, if you require active maintenance or are starting a new greenfield project, consider whether a more actively maintained async driver for your specific database might be a better fit.
Install
aioodbc on PyPI
Before you install
Low friction install with a single runtime dependency (pyodbc). Maintenance is dormant—last release was 2023-10-28 over a year ago—but the repository remains active and the package is stable enough for production use in async contexts.
Requires unixODBC library and a corresponding ODBC driver installed on the system (e.g., libsqliteodbc for SQLite).
License in practice
Licensed under Apache 2 (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.
Quickstart
pip install aioodbc
import asyncio
import aioodbc
async def query():
conn = await aioodbc.connect(dsn="Driver=SQLite;Database=db.db")
cur = await conn.cursor()
await cur.execute("SELECT 42;")
rows = await cur.fetchall()
await cur.close()
await conn.close()
asyncio.run(query())
Verify before relying
- Whether the dormant maintenance status poses risk for future Python or asyncio API changes.
- Performance characteristics compared to other async database drivers in production workloads.
- Thread pool sizing and tuning guidance for high-concurrency scenarios.
Package facts
| License | Apache 2 permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepyodbc |
| Maintenance | Dormant 1,021 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,672,711 / month, #3,665 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaEnvironment :: Web EnvironmentFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: DatabaseTopic :: Database :: Front-Ends |
Evidence: aioodbc-0.5.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 › “async odbc database access”
- aioodbcaioodbc provides async/await access to ODBC databases by wrapping…
- sqlalchemy-jdbcapiSQLAlchemy dialect for JDBC and ODBC database connections with…
- pyodbcpyodbc provides Python access to ODBC databases through a DB API…
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 aiomysql · pyodbc · aiodocker · aiopg · pypyodbc · hopsworks-aiomysql · asynch · asyncmy · anysqlite · pyadomd