The driver used by the SingleStoreDB Python client is PyMySQL which is great for compatibility and ease-of-installation, however, it is quite slow compared to all of the other drivers (mysql.connector, MariaDB connector, MySQLdb, etc.). Adding a C extension to process the row data and do data transformations would greatly speed it up.
It would be nice if we could use the Python simple C API so that we don't have to build so many packages since we will likely support Python 3.6 for some time, we already would need 6 packages for each platform (Linux, Windows, Mac x86 and Mac ARM). If we can use the simple API, we would only need one package for each platform.
The driver used by the SingleStoreDB Python client is PyMySQL which is great for compatibility and ease-of-installation, however, it is quite slow compared to all of the other drivers (mysql.connector, MariaDB connector, MySQLdb, etc.). Adding a C extension to process the row data and do data transformations would greatly speed it up.
It would be nice if we could use the Python simple C API so that we don't have to build so many packages since we will likely support Python 3.6 for some time, we already would need 6 packages for each platform (Linux, Windows, Mac x86 and Mac ARM). If we can use the simple API, we would only need one package for each platform.