A pure-Python MySQL and MariaDB client library.
open sourceMITfree
PyMySQL is a MySQL and MariaDB client library written entirely in Python, following the Python DB-API 2.0 (PEP 249). It needs no C extension, so it installs anywhere Python runs, and it works with MySQL and MariaDB Server LTS versions.
Problems it solves
- connect to a MySQL database from Python without compiling a C extension
- query MariaDB from a Python script
- a MySQL driver that works on PyPy
Features
- pure Python, with no C extension to compile
- Python DB-API 2.0 (PEP 249) interface
- sha256_password and caching_sha2_password authentication with the rsa extra
- MariaDB ed25519 authentication with the ed25519 extra