Python interface to MySQL
Project description
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.
Install
Prerequisites
You may need to install the Python and MySQL development headers and libraries like so:
sudo apt-get install python-dev default-libmysqlclient-dev
# Debian / Ubuntusudo yum install python-devel mysql-devel
# Red Hat / CentOSbrew install mysql-client
# macOS (Homebrew)
On Windows, there are binary wheels you can install without MySQLConnector/C or MSVC.
Note on Python 3 : if you are using python3 then you need to install python3-dev using the following command :
sudo apt-get install python3-dev
# debian / Ubuntu
sudo yum install python3-devel
# Red Hat / CentOS
Install from PyPI
pip install mysqlclient
NOTE: Wheels for Windows may be not released with source package. You should pin version
in your requirements.txt
to avoid trying to install newest source package.
Install from source
- Download source by
git clone
or zipfile. - Customize
site.cfg
python setup.py install
Documentation
Documentation is hosted on Read The Docs
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file mysqlclient-1.4.6.tar.gz
.
File metadata
- Download URL: mysqlclient-1.4.6.tar.gz
- Upload date:
- Size: 85.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3fdaa9a38752a3b214a6fe79d7cae3653731a53e577821f9187e67cbecb2e16 |
|
MD5 | 472115b7791535d9b6984717554e71c5 |
|
BLAKE2b-256 | d0977326248ac8d5049968bf4ec708a5d3d4806e412a42e74160d7f266a3e03a |
File details
Details for the file mysqlclient-1.4.6-cp38-cp38-win_amd64.whl
.
File metadata
- Download URL: mysqlclient-1.4.6-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 263.1 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f646f8d17d02be0872291f258cce3813497bc7888cd4712a577fd1e719b2f213 |
|
MD5 | 5c9a3006d5db180c0ca192deee10a3f1 |
|
BLAKE2b-256 | a8c42c4befb6f78f7b05ad4b1ea725a878738c7908285730838c5e6925eabf89 |
File details
Details for the file mysqlclient-1.4.6-cp37-cp37m-win_amd64.whl
.
File metadata
- Download URL: mysqlclient-1.4.6-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 263.0 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9e6080a7aee4cc6a06b58b59239f20f1d259c1d2fddf68ddeed242d2311c7087 |
|
MD5 | db3b8beafd320a4d15a620fae2334d03 |
|
BLAKE2b-256 | 5db3a753b836eab49c865651eb2bc7203d070c58e5f22b33015b48fa6112bd7a |
File details
Details for the file mysqlclient-1.4.6-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: mysqlclient-1.4.6-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 185.8 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c82187dd6ab3607150fbb1fa5ef4643118f3da122b8ba31c3149ddd9cf0cb39 |
|
MD5 | 74f2cc27e879cf75a79a94c02f698daa |
|
BLAKE2b-256 | 96da6bc460ef7a6df3d417914f17232259a4c869e63a3809d138ae786d7cf639 |