skillfed

mysql

Virtual package for MySQL-python

mysql v0.0.3 232.5K downloads/30d#9,064 on PyPI3
Permissive license MIT Abandoned released

What it is and what it does

This is a virtual package—a thin wrapper that exists only to redirect pip installations to mysqlclient (for Python 3) or MySQL-python (for Python 2). It contains no actual MySQL driver code. The package was created as a compatibility shim but has been abandoned since 2021 and is explicitly marked as deprecated by its maintainer.

The package's own documentation warns users not to install it and to depend directly on mysqlclient instead. While installation itself is frictionless and the package carries no known vulnerabilities, using it adds an unnecessary layer of indirection and ties your project to unmaintained code. For any new project, or any existing project still using this wrapper, the correct action is to remove this dependency and import mysqlclient directly.

Use it for:

  • Legacy projects that have not yet migrated away from this deprecated virtual package wrapper.
  • Transitional builds where the package is being phased out in favor of a direct mysqlclient dependency.
  • Historical reference or documentation of how Python MySQL driver packaging evolved.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

This package is a deprecated virtual wrapper that redirects to mysqlclient for Python 3 (or MySQL-python for Python 2). It provides no MySQL functionality itself—it exists only to route installations to the actual driver.

No. Do not install this package. The maintainer explicitly warns against it in the package description itself. Install mysqlclient directly instead. This package is abandoned (last release 2021-05-25) and serves no purpose except to redirect to the real driver—a layer of indirection that adds no value and ties your project to unmaintained code.

Install

mysql on PyPI

pip

pip install mysql

uv

uv add mysql

poetry

poetry add mysql

Installing mysql

Before you install

Installation is low-friction, but the package is abandoned (last release 2021-05-25). The maintainer explicitly warns against using this package and recommends depending directly on mysqlclient instead. The single runtime dependency is mysqlclient.

License in practice

Licensed under MIT (permissive), so there are no legal restrictions on use. However, the permissive license does not offset the package's abandoned status and explicit deprecation warning.

Quickstart

# Do not install this package. Instead:
pip install mysqlclient

import mysqlclient

This package is deprecated and should not be used. Install mysqlclient directly instead.

Verify before relying

  • Whether any projects still depend on this package and would break if it were removed from PyPI.
  • Current state of the GitHub repository and whether it accepts maintenance contributions.
  • Specific usage patterns where this virtual package wrapper would still be necessary or beneficial.

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 1 — mysqlclient
Maintenance abandoned — 1,907 days since the last release
Last repo commit
First released
Downloads 232,521/month — #9,064 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mysql-0.0.3-py3-none-any.whl

Tags

mysql python drivermysql database connectorpython mysql clientmysql virtual packagemysql wrapper
deprecatedvirtual-package

More Database packages