# Supported Python Libraries

SingleStore supports the following Python libraries.

## SingleStore Python Client

SingleStore recommends using the [SingleStore Python Client](https://docs.singlestore.com/cloud/developer-resources/connect-with-application-development-tools/connect-with-python/connect-using-the-singlestore-python-client.md).

```Shell
pip install singlestoredb
```

## mysqlclient

Refer to [mysqlclient-python](https://github.com/PyMySQL/mysqlclient-python) for information.

```shell
pip install mysqlclient
```

## PyMySQL

Refer to [PyMySQL](https://github.com/PyMySQL/PyMySQL) for information.

```shell
pip install PyMySQL
```

## MySQL Connector/Python

> **⚠️ Warning**: The MySQL Connector/Python library is not recommended.

Refer to [MySQL Connector/Python](https://dev.mysql.com/downloads/connector/python/) for information.

```shell
yum install https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-8.0.15-1.el7.x86_64.rpm
yum install https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-cext-8.0.15-1.el7.x86_64.rpm
```

| Connector                                     | Binary URL                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | Source Code                                                                      |
| --------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
| MySQL Connector/Python Version 2.1.7 (GPLv2)  | [Linux RHEL 6 x86\_64](https://repo.mysql.com/yum/mysql-connectors-community/el/6/x86_64/mysql-connector-python-2.1.7-1.el6.x86_64.rpm)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | [2.1.7.zip](https://github.com/mysql/mysql-connector-python/archive/2.1.7.zip)   |
| MySQL Connector/Python Version 8.0.15 (GPLv2) | [Linux RHEL 7 x86\_64](https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-8.0.15-1.el7.x86_64.rpm)[Windows x86\_64 (Python 2.7)](https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-8.0.15-py2.7-windows-x86-64bit.msi)[Windows x86\_64 (Python 3.5)](https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-8.0.15-py3.5-windows-x86-64bit.msi)[Windows x86\_64 (Python 3.6)](https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-8.0.15-py3.6-windows-x86-64bit.msi)[Windows x86\_64 (Python 3.7)](https://dev.mysql.com/get/Downloads/Connector-Python/mysql-connector-python-8.0.15-py3.7-windows-x86-64bit.msi) | [8.9.15.zip](https://github.com/mysql/mysql-connector-python/archive/8.0.15.zip) |

***

Modified at: August 6, 2025

Source: [/cloud/developer-resources/connect-with-application-development-tools/connect-with-python/supported-python-libraries/](https://docs.singlestore.com/cloud/developer-resources/connect-with-application-development-tools/connect-with-python/supported-python-libraries/)

(An index of the documentation is available at /llms.txt)
