Comparison
mariadb vs mysql vs MySQL-python vs mysqlclient
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 mariadbVirtual package for MySQL-python
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install mysqlPython interface to MySQL
Likely abandoned. No release or commit for years (last release over 12 years ago).
$
pip install mysql-pythonPython interface to MySQL
Actively maintained. Last release 13 days ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install mysqlclientIn short
- mysql looks abandoned: avoid it for new projects.
- MySQL-python looks abandoned: avoid it for new projects.
- mysqlclient is the most used: 13.7M downloads a month, 22× more than mariadb.
- Maintenance is comparable: mysqlclient 82, mariadb 81 on Pythie’s Index.
- mariadb is growing fastest: downloads +48% over the last month.
- Safe default for a new project: mysqlclient.
Side by side
| Metric | mariadb | mysql | MySQL-python | mysqlclient |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 81 | Pythie’s Index: 11 | Pythie’s Index: 17 | Pythie’s Index: 82 |
| Verdict | Actively maintained | Likely abandoned | Likely abandoned | Actively maintained |
| Downloads / month | 629.7K | 117.9K | 117K | 13.7M |
| Downloads, month over month | +48% | +2% | +9% | -15% |
| GitHub stars | 152 | 3 | 662 | 2.5K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 51 | 32 | 15 | 298 |
| Last release | Nov 9, 2026 | May 25, 2021 | Jan 2, 2014 | Nov 18, 2026 |
| Releases, 12 months | 3 | 0 | 0 | 4 |
| Weeks with commits | 15 / 26 | 0 / 26 | 0 / 26 | 13 / 26 |
| Recent contributors | 5 | 1 | 12 | 15 |
| First release | Dec 2019 | Jan 2015 | Mar 2007 | Apr 2014 |
| Python versions | 3.11 – 3.15 | – | – | 3.10 – 3.14 |
| License | LGPL-2.1 | MIT | non-standard | GPL-2.0-or-later |
| Known vulnerabilities | 1 | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.