Comparison
aiomysql vs MySQL-python vs mysqlclient vs PyMySQL
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
MySQL driver for asyncio.
Low maintenance activity. Last release 13 months ago, commits in 2 of the last 26 weeks. Weaker on commit activity and recent releases.
$
pip install aiomysqlPython 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 mysqlclientPure Python MySQL Driver
Actively maintained. Last release 3 weeks ago, commits in 17 of the last 26 weeks. A safe choice.
$
pip install pymysqlIn short
- MySQL-python looks abandoned: avoid it for new projects.
- PyMySQL is the most used: 83.4M downloads a month, 6.1× more than mysqlclient.
- Maintenance is comparable: PyMySQL 88, mysqlclient 82, aiomysql 23 on Pythie’s Index.
- Safe default for a new project: PyMySQL.
Side by side
| Metric | aiomysql | MySQL-python | mysqlclient | PyMySQL |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | Pythie’s Index: 17 | Pythie’s Index: 82 | Pythie’s Index: 88 |
| Verdict | Low maintenance activity | Likely abandoned | Actively maintained | Actively maintained |
| Downloads / month | 10.3M | 117K | 13.7M | 83.4M |
| Downloads, month over month | -8% | +9% | -15% | +6% |
| GitHub stars | 1.9K | 662 | 2.5K | 7.9K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 283 | 15 | 298 | 2K |
| Last release | Oct 22, 2025 | Jan 2, 2014 | Nov 18, 2026 | Nov 9, 2026 |
| Releases, 12 months | 0 | 0 | 4 | 6 |
| Weeks with commits | 2 / 26 | 0 / 26 | 13 / 26 | 17 / 26 |
| Recent contributors | 2 | 12 | 15 | 16 |
| First release | Feb 2015 | Mar 2007 | Apr 2014 | Jun 2009 |
| Python versions | 3.9 – 3.13 | – | 3.10 – 3.14 | – |
| License | MIT | non-standard | GPL-2.0-or-later | MIT |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.