Revision 3 as of 2008-12-31 06:57:43

Clear message

ODBC

ODBC stands for Open Database Connectivity, the industry standard for database C APIs.

Most databases ships with ODBC drivers, so chances are high that you can use one of these drivers together with a Python ODBC interface to connect your Python application with any database on the market.

DB API 2.0 Drivers

mxODBC

URL

http://www.egenix.com/products/python/mxODBC/

License
eGenix Commercial License
Platforms
Windows, Linux, MacOS X, FreeBSD, Solaris, AIX
Python versions
2.3 - 2.6

pyodbc

URL

http://code.google.com/p/pyodbc

License
MIT
Platforms
Windows, Linux, MacOS X, FreeBSD, Solaris, Any (source provided)
Python versions
2.4 - 2.6

Actively maintained Open Source project.

Precompiled binaries are available for Windows. RedHat Enterprise Linux, Centos, and Fedora have precompiled RPMs available in their Extras repositories.

ceODBC

URL

http://ceodbc.sourceforge.net

License
Platforms
Windows
Python versions

mxODBC Connect

URL

http://www.egenix.com/products/python/mxODBCConnect/

License
eGenix Commercial License
Platforms
Windows, Linux, MacOS X, FreeBSD, Solaris, AIX
Python versions
2.3 - 2.6

mxODBC Connect is a commercial client-server product that allows connecting Python to ODBC compatible databases running on remote servers without requiring an ODBC driver on the client side.

ODBTPAPI

URL

http://benjiyork.com/odbtp.html

License
Platforms
Python versions

win32 odbc

URL

http://python.net/crew/mhammond/win32/

License
PSF and others
platforms
Windows
Python versions

This interface is rather old and unmaintained, but listed here since it started the Python DB-API specification development.

Unable to edit the page? See the FrontPage for instructions.