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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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