# mkleehammer/pyodbc

Python ODBC bridge

Repository: https://github.com/mkleehammer/pyodbc
Canonical: https://ross.abutalabs.com/products/pyodbc
Homepage: https://github.com/mkleehammer/pyodbc/wiki
Language: C++
License: MIT-0
License Family: permissive
Topics: python, database, odbc, dbapi
Last push: 2026-06-06T22:06:03+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 86, release rhythm 20, longevity 100
- inputs: {"age_days": 6543, "days_push": 88, "days_rel": 320, "gap_med": 366, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3081, forks 569 (observed 2026-08-28T04:07:41.907035+00:00)

## What it is
pyodbc is an open-source Python module that provides access to ODBC databases, implementing the DB API 2.0 specification with additional Pythonic conveniences. It ships precompiled binary wheels for Windows, macOS, and Linux, with C++ extensions built from source on other platforms.

## Use cases
- connect to sql server from python
- query odbc databases in python
- read data from microsoft access or excel via odbc
- run stored procedures from python
- bulk insert rows with fast_executemany
- connect python to postgresql or mysql through odbc

## When to choose
- you need to connect Python to a database via an ODBC driver, especially SQL Server
- you want a DB API 2.0-compliant driver with extra conveniences like fast_executemany and TVP support
- you need cross-platform prebuilt wheels

## When to avoid
- you only need a database with a native pure-Python or dedicated driver (e.g., psycopg2 for PostgreSQL)
- you cannot install an ODBC driver manager on your system
- you need async database access

## Facets
- artifact type: library
- maturity: stable
- function: database-driver, database
- domain: databases, developer-tools, backend
- platform: python, windows, cross-platform
- tags: odbc, dbapi, sql-server, c++-extension, macos, linux

## Member repositories
- mkleehammer/pyodbc (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:41.907035+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:46:31.490136+00:00, confidence not recorded.
  - readme: https://github.com/mkleehammer/pyodbc (fetched 2026-08-28T04:07:41.907035+00:00, sha 5411aac11cf3)
  - homepage: https://github.com/mkleehammer/pyodbc/wiki (fetched 2026-08-29T09:42:57.781770+00:00, sha d01723622a54)
- Data as of 2026-08-30T08:39:29.467469+00:00.
