Revision 39 as of 2013-08-11 04:09:34

Clear message

MySQL

URL

http://www.mysql.com/

license
GPLv2
platforms
Unix, win32, win64, MacOS X, i5/OS

Pros

Cons


DB API 2.0 Drivers

MySQL for Python

URL

http://sourceforge.net/projects/mysql-python

License
GNU General Public License (GPL), Python License (CNRI Python License), Zope Public License
Platforms
OS Independent
Python versions
2.3 - 2.6

MySQL on-line documentation, additional forums (maintainer does not currently read these)

PyMySQL

URL

http://www.pymysql.org/

License
MIT
Platforms

OS Independent, CPython 2.x and 3.x, PyPy, Jython, IronPython

Python versions
2.4 - 3.2

mxODBC

URL

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

License
eGenix Commercial License
Platforms
Windows, Linux, MacOS X, FreeBSD, Solaris, AIX
Python versions
2.1 - 2.5

mxODBC is compatible with the MySQL ODBC driver on Windows and Unix.

pyodbc

URL

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

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

Actively maintained Open Source project.

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

MySQL Connector/Python

URL

https://launchpad.net/myconnpy

License
GNU GPL v2
Platforms
Any (presumably)
Python versions
v2.4 to v2.7 and Python v3.1

mypysql

URL

http://sourceforge.net/projects/mypysql/

License
GNU GPL v3+
Platforms
Any (presumably)
Python versions
3

PyPyODBC (Pure Python ODBC)

URL

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

License
MIT
Platforms
Windows, Linux
Python versions
2.4 - 3.3

Connect SQL Server in 3 steps with pypyodbc on Linux

One pure Python script, runs on CPython / IronPython / PyPy , Version 3.3 / 3.2 / 3.1 / 2.4 / 2.5 / 2.6 / 2.7 , Win / Linux , 32 / 64 bit.

Similar usage as pyodbc ( can be seen as a re-implementation of pyodbc in pure Python ).

Simple - the whole module is implemented in a single python script with less than 3000 lines.


Supported Python Applications

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