سؤال

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?

هل كانت مفيدة؟

المحلول

SQLAlchemy is a common choice. It can also be used as a ORM.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top