Although it has been released for a long time, it seems that some modules for Python3 are still a bit difficult to find.
The first time I had this impression was looking for a connector between Python3 and MySQL. The module MySQLdb that I always used with python2 is not available for version 3 of the language and it's not clear if it'll ever be in the future. In the Internet you can find some alternatives, but for many of them it's not clear which is the degree of completeness (or it's clear that it's not so high) and support.
I came to the conclusion that the more reliable candidate is oursql. The other two modules that are compatible also with Python3 are: PyMySQL and MySQL Connector / Python (the latter is pure Python, so it does not need to link to MySQL client library).
Besides, SQLAlchemy always proves exceptional because it is able to use all the modules to connect to the database.
Comments
Post a Comment