mysql-python is an open source, multiplatform and free library software implemented in C, Python and Zope, designed from the ground up to act as a Python DB API-2.0-compliant interface to the popular MySQL database engine. The project’s design goals include compliance with the 2.0 version of the Python database API (see PEP-249 for details), thread-safety, as well as thread-friendliness.
Supports MySQL and MariaDB database servers
The library has been engineered to support MySQL and MariaDB database servers from version 3.23 through 5.5, as well as Python 2.4 through 2.7. At the moment, support for Python 3 is missing, but the developers promise that it will be added in upcoming versions of the library.
Getting started with mysql-python
To install and use the mysql-python library on your GNU/Linux system, you must download the source code from its official website (see link below for details) or via Softpedia, save the archive on a location of your choice, unpack it with your favorite archive manager tool, open a terminal emulator and navigate to the location of the extracted archive files using the ‘cd’ command.
Being written in Python, it will be a breeze to install mysql-python on your computer. Just type the ‘python setup.py install’ command as root or with sudo in front of it in the terminal emulator. Dedicated setup.py files are available for Windows and other UNIX-like systems.
Under the hood, availability and supported OSes
Looking under the hood of mysql-python, we can notice that both the C and Python programming languages have been used to write its source code. It is engineered to support any GNU/Linux distribution, as well as the FreeBSD, Solaris, Mac OS X and Microsoft Windows operating systems. The program is compatible with 32-bit and 64-bit computer architectures.