PyMySQL is a 100% Python implementation of the MySQL client protocol, allowing Python applications to connect to MySQL and MariaDB databases without requiring binary extensions. It supports standard DB‑API 2.0 features, such as cursors, transactions, and parameterized queries. PyMySQL is versatile for web applications, scripts, and tools, offering compatibility with ORMs like SQLAlchemy and frameworks like Django.

Features

  • Pure-Python MySQL and MariaDB connectivity
  • Compliant with DB‑API 2.0 interface
  • Supports SSL, compression, and timeout settings
  • Cursor with dict result support
  • Transaction support with commit/rollback
  • Compatible with SQLAlchemy and Django

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow PyMySQL

PyMySQL Web Site

Other Useful Business Software
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of PyMySQL!

Additional Project Details

Programming Language

Python

Related Categories

Python Libraries

Registered

2025-07-03