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
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
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