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
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
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