Comparison
aiomysql vs asyncmy2 vs mysql-connector vs mysql-connector-python
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 aiomysqlA fast asyncio MySQL driver
Archived. The repository is read-only: no more fixes or releases will come.
pip install asyncmy2MySQL driver written in Python
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install mysql-connectorA 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-pythonIn short
- asyncmy2 is archived: avoid it for new projects.
- mysql-connector looks abandoned: avoid it for new projects.
- mysql-connector-python is the most used: 24.9M downloads a month, 2.4× more than aiomysql.
- mysql-connector-python also has the best Pythie’s Index (71).
- Safe default for a new project: mysql-connector-python.
Side by side
| Metric | aiomysql | asyncmy2 | mysql-connector | mysql-connector-python |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 23 | Pythie’s Index: 14 | Pythie’s Index: 19 | Pythie’s Index: 71 |
| Verdict | Low maintenance activity | Archived | Likely abandoned | Actively maintained |
| Downloads / month | 10.3M | 451.7K | 907.8K | 24.9M |
| Downloads, month over month | -8% | +6% | -17% | -11% |
| GitHub stars | 1.9K | 8 | – | 948 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 283 | 2 | 1 | 820 |
| Last release | Oct 22, 2025 | Aug 2, 2026 | Apr 1, 2019 | Oct 22, 2026 |
| Releases, 12 months | 0 | 2 | 0 | 4 |
| Weeks with commits | 2 / 26 | 12 / 26 | – | 8 / 26 |
| Recent contributors | 2 | 2 | – | 12 |
| First release | Feb 2015 | Oct 2025 | Apr 2019 | Nov 2017 |
| Python versions | 3.9 – 3.13 | – | 3.1 – 3.3 | 3.10 – 3.14 |
| License | MIT | Apache-2.0 | non-standard | non-standard |
| 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.