Comparison
MySQL-python vs mysqlclient
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Python 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 12 days ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install mysqlclientIn short
- MySQL-python looks abandoned: avoid it for new projects.
- mysqlclient is the most used: 14.2M downloads a month, 127× more than MySQL-python.
- mysqlclient also has the best Pythie’s Index (77).
- Safe default for a new project: mysqlclient.
Side by side
| Metric | MySQL-python | mysqlclient |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 17 | Pythie’s Index: 77 |
| Verdict | Likely abandoned | Actively maintained |
| Downloads / month | 111.7K | 14.2M |
| Downloads, month over month | -3% | -15% |
| GitHub stars | 662 | 2.5K |
| Stars, last 7 days | – | – |
| Direct dependents | 15 | 298 |
| Last release | Jan 2, 2014 | Nov 18, 2026 |
| Releases, 12 months | 0 | 4 |
| Weeks with commits | 0 / 26 | 10 / 26 |
| Recent contributors | 12 | 15 |
| First release | Mar 2007 | Apr 2014 |
| Python versions | – | 3.10 – 3.14 |
| License | non-standard | GPL-2.0-or-later |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.