Comparison
mariadb vs mysql-connector-python vs MySQL-python
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python MariaDB extension
Actively maintained. Last release 3 weeks ago, commits in 15 of the last 26 weeks. A safe choice.
$
pip install mariadbA self-contained Python driver for communicating with MySQL servers, using an API that is compliant with the Python Database API Specification v2.0 (PEP 249).
Actively maintained. Last release 6 weeks ago, commits in 8 of the last 26 weeks. A safe choice.
$
pip install mysql-connector-pythonPython interface to MySQL
Likely abandoned. No release or commit for years (last release over 12 years ago).
$
pip install mysql-pythonIn short
- MySQL-python looks abandoned: avoid it for new projects.
- mysql-connector-python is the most used: 25.4M downloads a month, 42× more than mariadb.
- mariadb is better maintained: Pythie’s Index 81 against 71.
- mariadb is growing fastest: downloads +47% over the last month.
- Safe default for a new project: mysql-connector-python, or mariadb if active maintenance matters most.
Side by side
| Metric | mariadb | mysql-connector-python | MySQL-python |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 81 | Pythie’s Index: 71 | Pythie’s Index: 17 |
| Verdict | Actively maintained | Actively maintained | Likely abandoned |
| Downloads / month | 610.2K | 25.4M | 111.7K |
| Downloads, month over month | +47% | -10% | -3% |
| GitHub stars | 153 | 949 | 662 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 51 | 820 | 15 |
| Last release | Nov 9, 2026 | Oct 22, 2026 | Jan 2, 2014 |
| Releases, 12 months | 3 | 4 | 0 |
| Weeks with commits | 15 / 26 | 8 / 26 | 0 / 26 |
| Recent contributors | 5 | 12 | 12 |
| First release | Dec 2019 | Nov 2017 | Mar 2007 |
| Python versions | 3.11 – 3.15 | 3.10 – 3.14 | – |
| License | LGPL-2.1 | non-standard | non-standard |
| Known vulnerabilities | 1 | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.