Skip to main content

PyMySQL

https://secure.travis-ci.org/PyMySQL/PyMySQL.png

This package contains a pure-Python MySQL client library. Documentation on the MySQL client/server protocol can be found here: http://dev.mysql.com/doc/internals/en/client-server-protocol.html

If you would like to run the test suite, edit the config parameters in pymysql/tests/base.py. The goal of pymysql is to be a drop-in replacement for MySQLdb and work on CPython, Jython, IronPython and PyPy.

We test for compatibility by simply changing the import statements in the Django MySQL backend and running its unit tests as well as running it against the MySQLdb and myconnpy unit tests.

Requirements

  • Python 2.6, 2.7 or 3.3

  • MySQL 4.1 or higher

  • protocol41 support, experimental 4.0 support

Installation

pip install PyMySQL

… or …

python setup.py install

Metadata

Release files for PyMySQL 0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for PyMySQL 0.5
File Size Uploaded Provenance Actions
PyMySQL-0.5.tar.gz 31.2 kB Without provenance Details for PyMySQL-0.5.tar.gz

Release files / PyMySQL-0.5.tar.gz

Download URL PyMySQL-0.5.tar.gz
Size 31.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b141ceb1551fe29c10eab45efcb9eac8c3bb7b04b030045fa8b13b2e8767d8c5
BLAKE2b-256 checksum
How to use checksums
fe95a3f3dfe3f04d135d300f8373d88469eade47acd23082c82cb8656750734d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for PyMySQL 0.5

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.

Release history Release notifications | RSS feed

0.6.5

0.6.2-rc1

This release

0.5 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page