Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

mysqlclient

Fast C-based MySQL driver for Python, used by Django.

Databases, ORMs and clientsPYPI

GitHub

1. License

License from PyPI license expression.

github.com/PyMySQL/mysqlclient

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What mysqlclient does

Fast C-based MySQL driver for Python, used by Django.

mysqlclient popularity

45 / 100
Gid Score, #2558 overall
3.3M
downloads a week, pypi
2,543
GitHub stars
mysqlclient: downloads per weekPyPI, mysqlclient 3,300,385
mysqlclient: GitHub starsPyMySQL/mysqlclient 2,543

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How mysqlclient is used

  • mysqlclient joined the catalog on its public numbers (3,304,280 downloads a week on PyPI and 2,543 GitHub stars), not on our project count: it is a dependency in 17 public GitHub projects of our scan, 0 of them set up for AI coding agents.
  • The most used alternative in our scan is PyMySQL (21 projects).
  • Projects that use it most often also use NumPy (88.2%), packaging (88.2%), Pillow (88.2%).

Often used with

In 88.2% of its projects
In 88.2% of its projects
In 88.2% of its projects
In 88.2% of its projects
In 88.2% of its projects
In 82.4% of its projects
In 82.4% of its projects
In 82.4% of its projects

More about mysqlclient

More in Databases, ORMs and clients

Alternatives

mysqlclient This page

GPL-2.0-or-laterGid 453.3M/wk

PyMySQL

Pure Python MySQL database driver for database operations.

MITGid 6519.9M/wk

PyMongo

Official MongoDB Python driver for querying and managing MongoDB databases.

Apache-2.0Gid 6818.5M/wk

Compare mysqlclient with another tool

Get started

Install it.

pip install mysqlclient

No step-by-step start for mysqlclient yet: we have not written its hand-checked card.