mysqlclient
This is a fork of MySQLdb1.
This project adds Python 3 support and bug fixes. I hope this fork is merged back to MySQLdb1 like distribute was merged back to setuptools.
Support
Do Not use Github Issue Tracker to ask help. OSS Maintainer is not free tech support
When your question looks relating to Python rather than MySQL:
- Python mailing list python-list
- Slack pythondev.slack.com
Or when you have question about MySQL:
Install
Windows
Building mysqlclient on Windows is very hard. But there are some binary wheels you can install easily.
macOS (Homebrew)
Install MySQL and mysqlclient:
# Assume you are activating Python 3 venv
$ brew install mysql
$ pip install mysqlclient
If you don't want to install MySQL server, you can use mysql-client instead:
# Assume you are activating Python 3 venv
$ brew install mysql-client
$ echo 'export PATH="/usr/local/opt/mysql-client/bin:$PATH"' >> ~/.bash_profile
$ export PATH="/usr/local/opt/mysql-client/bin:$PATH"
$ pip install mysqlclient
Linux
Note that this is a basic step. I can not support complete step for build for all environment. If you can see some error, you should fix it by yourself, or ask for support in some user forum. Don't file a issue on the issue tracker.
You may need to install the Python 3 and MySQL development headers and libraries like so:
$ sudo apt-get install python3-dev default-libmysqlclient-dev build-essential# Debian / Ubuntu% sudo yum install python3-devel mysql-devel# Red Hat / CentOS
Then you can install mysqlclient via pip now:
$ pip install mysqlclient
Documentation
Documentation is hosted on Read The Docs
Metadata
Release files for mysqlclient 2.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mysqlclient-2.0.2.tar.gz | 88.3 kB | Without provenance | Details |
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| mysqlclient-2.0.2-cp39-cp39-win_amd64.whl | CPython 3.9 | CPython 3.9 | Windows x86-64 | Details |
| mysqlclient-2.0.2-cp38-cp38-win_amd64.whl | CPython 3.8 | CPython 3.8 | Windows x86-64 | Details |
| mysqlclient-2.0.2-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| mysqlclient-2.0.2-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
Total release size: 804.5 kB
Release files / mysqlclient-2.0.2.tar.gz
| Download URL | mysqlclient-2.0.2.tar.gz |
|---|---|
| Size | 88.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8df057b08fc27d8f7106bfa997d0a21e2acef017f905f06d6fb0aa6a20d4d2b2
|
|
BLAKE2b-256 checksum How to use checksums |
0e68f79de0e0fcdb041783124b825771e0ba6a3d0893b7b4c4735f130e42af47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / mysqlclient-2.0.2-cp39-cp39-win_amd64.whl
| Download URL | mysqlclient-2.0.2-cp39-cp39-win_amd64.whl |
|---|---|
| Size | 179.3 kB |
| Tags | CPython 3.9 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4861e33b9fad83dadf38feae77a14106365fc8c354ec4300fab5d8ccfbee4b4e
|
|
BLAKE2b-256 checksum How to use checksums |
5a7aa0a5926d1e6b873dd2703973eee2dec64163a5ecc3778d91c4cde69c9522
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / mysqlclient-2.0.2-cp38-cp38-win_amd64.whl
| Download URL | mysqlclient-2.0.2-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 179.3 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
3739824f4b8f29a6a4e5fc965f933fdce7c9edc2454990c3e5c6e038779e5580
|
|
BLAKE2b-256 checksum How to use checksums |
7982ed51a2ec279392e394eea99a7af38fbe09145a8d5d5d308b35815fc5554d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / mysqlclient-2.0.2-cp37-cp37m-win_amd64.whl
| Download URL | mysqlclient-2.0.2-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4d91dde55230a512937aafc5981c6c11c0efad2c6b3d33e83287208c8bdab367
|
|
BLAKE2b-256 checksum How to use checksums |
a4b691c76ad189ce0f940dd200f895d954cea3f2b911673b5ded3a7d0a64cfba
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Release files / mysqlclient-2.0.2-cp36-cp36m-win_amd64.whl
| Download URL | mysqlclient-2.0.2-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 178.8 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
8944d9008c29abfa43e3c97551416ea23b2ccb017af85682b79f34fc26dc43ae
|
|
BLAKE2b-256 checksum How to use checksums |
dd6a4085468b43528cd50179aeedc635f059b8ccd7cdf583e1e95ec1d6f998d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.9.0
|
Security for mysqlclient 2.0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.