About Connector/Python
Overview of MariaDB Connector/Python: a PEP-249-compliant DB API 2.0 driver supporting sync and async operations, available as pure Python, a C extension, or pre-compiled binary wheels.
MariaDB Connector/Python enables python programs to access MariaDB and MySQL databases, using an API which is compliant with the Python DB API 2.0 (PEP-249).
Version 2.0 offers flexible distribution options:
Pure Python - Works on all platforms, no compiler required
C extension - Maximum performance (2-12× faster on data-heavy workloads)
Pre-compiled wheels - No MariaDB Connector/C installation needed
All implementations support both synchronous and asynchronous operations.
Supported Versions
Server Compatibility
MariaDB Connector/Python connects to MariaDB and MySQL database servers. Individual server-side features may require a minimum server version; those requirements are noted with the feature.
Supported Release Series
The following MariaDB Connector/Python release series are supported:
1.1
June 2022
For End of Standard Support and End of Life dates, see the MariaDB Engineering Policy.
As of 2.0.0rc2, version 2.0 is a Release Candidate and is not a supported release series.
Requirements
Python
CPython 3.9 through 3.14
CPython 3.10 or later
MariaDB Connector/C
3.3.1 or later, always required
3.3.1 or later, and only for the c and binary extras — the pure Python build requires none
Checking Your Installed Version
Connector/Python reports both its own version and the version of the underlying MariaDB Connector/C:
Installation
Installation — version 1.1 (stable / GA):
A plain pip3 install installs the latest stable release (1.1). It always installs the C extension and requires MariaDB Connector/C to be pre-installed; connection pooling is included by default.
Installation — version 2.0 (Release Candidate):
Version 2.0 is a pre-release, so the --pre flag is required — without it, pip installs the latest GA release (1.1).
Links
Sources are hosted on Github
This page is: Copyright © 2026 MariaDB. All rights reserved.
Last updated
Was this helpful?

