Are there any widely used wrappers/API's for MySQL in python?
-
28-10-2019 - |
Question
I'm a PHP guy trying out Python with cherryPy. Whenever I work with PHP I use my own simmple wrapper for mysql functions in a form of a class to make things easier to maintain. There is also PDO layer that is widely used but I never really used it in any of my projects. Do people building applications in Python using microframeworks use any kind of wrappers for MySQL instead of straight-out MySQLdb library?
Solution
SQLAlchemy is a common choice. It can also be used as a ORM.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow