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.202504251108

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.202504251108
File Size Uploaded
lxpyodbc-2.7.202504251108.tar.gz 119.8 kB Details

Built distribution (wheel)

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

Total release size: 481.8 kB

Release files / lxpyodbc-2.7.202504251108.tar.gz

Download URL lxpyodbc-2.7.202504251108.tar.gz
Size 119.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8cbb4fa115571670f61cf52d06fe2ac486f19bf2afff4640cdf594ce7006f730
BLAKE2b-256 checksum
How to use checksums
b75c2e604b39ab260ad0d5ae150f86654ebcc48a5c6b1b531c3c7091c52ee308
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10

Release files / lxpyodbc-2.7.202504251108-cp38-cp38-manylinux_2_34_x86_64.whl

Download URL lxpyodbc-2.7.202504251108-cp38-cp38-manylinux_2_34_x86_64.whl
Size 362.0 kB
Tags CPython 3.8 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
b66ff9baa74c4a5a6e8c50318bd1e48a1ad6affcfaf58f3768d18ec5f7c82e4c
BLAKE2b-256 checksum
How to use checksums
c0358128c644398af1f3f932dd02fbeec7062de5db7ad3faca6ae29f46549b0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.10
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