Comparison
asyncmy vs asyncmy2 vs mysqlclient vs PyMySQL
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The fastest asyncio MySQL/MariaDB driver for Python
Actively maintained. Last release 6 days ago, commits in 10 of the last 26 weeks. A safe choice.
$
pip install asyncmyA fast asyncio MySQL driver
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install asyncmy2Python 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 16 of the last 26 weeks. A safe choice.
$
pip install pymysqlIn short
- asyncmy2 is archived: avoid it for new projects.
- PyMySQL is the most used: 83.4M downloads a month, 6.1× more than mysqlclient.
- Maintenance is comparable: PyMySQL 87, asyncmy 84, mysqlclient 82 on Pythie’s Index.
- asyncmy is growing fastest: downloads +31% over the last month.
- Safe default for a new project: PyMySQL.
Side by side
| Metric | asyncmy | asyncmy2 | mysqlclient | PyMySQL |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 84 | Pythie’s Index: 14 | Pythie’s Index: 82 | Pythie’s Index: 87 |
| Verdict | Actively maintained | Archived | Actively maintained | Actively maintained |
| Downloads / month | 1.8M | 451.7K | 13.7M | 83.4M |
| Downloads, month over month | +31% | +6% | -15% | +6% |
| GitHub stars | 400 | 8 | 2.5K | 7.9K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 45 | 2 | 298 | 2K |
| Last release | Nov 25, 2026 | Aug 2, 2026 | Nov 18, 2026 | Nov 9, 2026 |
| Releases, 12 months | 11 | 2 | 4 | 6 |
| Weeks with commits | 10 / 26 | 12 / 26 | 13 / 26 | 16 / 26 |
| Recent contributors | 12 | 2 | 15 | 16 |
| First release | Mar 2021 | Oct 2025 | Apr 2014 | Jun 2009 |
| Python versions | 3.10 – 3.15 | – | 3.10 – 3.14 | – |
| License | Apache-2.0 | Apache-2.0 | 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.