Skip to main content

pyodbc

Windows build Ubuntu build PyPI

pyodbc is an open source Python module that makes accessing ODBC databases simple. It implements the DB API 2.0 specification but is packed with even more Pythonic convenience.

The easiest way to install pyodbc is to use pip:

python -m pip install pyodbc

On Macs, you should probably install unixODBC first if you don't already have an ODBC driver manager installed. For example, using the homebrew package manager:

brew install unixodbc
python -m pip install pyodbc

Similarly, on Unix you should make sure you have an ODBC driver manager installed before installing pyodbc. See the docs for more information about how to do this on different Unix flavors. (On Windows, the ODBC driver manager is built-in.)

Precompiled binary wheels are provided for multiple Python versions on most Windows, macOS, and Linux platforms. On other platforms pyodbc will be built from the source code. Note, pyodbc contains C++ extensions so you will need a suitable C++ compiler when building from source. See the docs for details.

Documentation

Release Notes

Release files for lxpyodbc 2.7.202505291615

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lxpyodbc 2.7.202505291615
File Size Uploaded
lxpyodbc-2.7.202505291615.tar.gz 120.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lxpyodbc 2.7.202505291615
File Interpreter ABI Platform
lxpyodbc-2.7.202505291615-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details

Total release size: 435.6 kB

Release files / lxpyodbc-2.7.202505291615.tar.gz

Download URL lxpyodbc-2.7.202505291615.tar.gz
Size 120.1 kB
Tags Source
SHA-256 checksum
How to use checksums
c5e9b2c6af08ca2bfff47c4b08e8dfc0daf478757862a52ba4cbbfd462b44286
BLAKE2b-256 checksum
How to use checksums
1d081a39b703dba3707e780687bab18f6c98e495be7e464cfcc4d7aad4a802b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12

Release files / lxpyodbc-2.7.202505291615-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL lxpyodbc-2.7.202505291615-cp310-cp310-manylinux_2_34_x86_64.whl
Size 315.5 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
56743505722b3e8ac0d5beb334f7dd3c4465acfcd977001099152e19d32adf7a
BLAKE2b-256 checksum
How to use checksums
ed0500769c53e21de5c2721dd8226af221bf0be04263e76da6b1b944db753c52
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.12
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page