https://github.com/mkleehammer/pyodbc
Python ODBC bridge
https://github.com/mkleehammer/pyodbc
database dbapi odbc python
Last synced: 6 days ago
JSON representation
Python ODBC bridge
- Host: GitHub
- URL: https://github.com/mkleehammer/pyodbc
- Owner: mkleehammer
- License: mit-0
- Created: 2008-10-03T15:19:37.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2024-12-07T20:51:03.000Z (4 months ago)
- Last Synced: 2025-04-01T06:10:28.623Z (13 days ago)
- Topics: database, dbapi, odbc, python
- Language: C++
- Homepage: https://github.com/mkleehammer/pyodbc/wiki
- Size: 1.43 MB
- Stars: 2,986
- Watchers: 120
- Forks: 566
- Open Issues: 66
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- jimsghstars - mkleehammer/pyodbc - Python ODBC bridge (C++)
README
# pyodbc
[](https://ci.appveyor.com/project/mkleehammer/pyodbc)
[](https://github.com/mkleehammer/pyodbc/actions/workflows/ubuntu_build.yml)
[](https://pypi.org/project/pyodbc/)pyodbc is an open source Python module that makes accessing ODBC databases simple. It
implements the [DB API 2.0](https://www.python.org/dev/peps/pep-0249) 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](https://brew.sh/) package manager:brew install unixodbc
python -m pip install pyodbcSimilarly, on Unix you should make sure you have an ODBC driver manager installed before
installing pyodbc. See the [docs](https://github.com/mkleehammer/pyodbc/wiki/Install)
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](https://github.com/mkleehammer/pyodbc/wiki/Install) for details.[Documentation](https://github.com/mkleehammer/pyodbc/wiki)
[Release Notes](https://github.com/mkleehammer/pyodbc/releases)