Peewee vs SQLAlcheymy Project for Flask

Hi guys, I want to start a new Flask project, and I'm trying to choose ORM. I want this to be very fast, so dirty trackers and complex joins don't answer the questions anyway, but I'm also interested in making changes to a single ex instance. session.commit ()

So far, Peewee seems pretty simple, elegant, and Flask-peewee (admin UI + other endpoints) is a big bonus, but I can't find a migration tool and the ability to do what SQLa does with session.commit ()

On the other hand, SQLa is really reliable, has many extensions, but it is more complex and has a steep learning curve.

What are your choices?

+4
source share

All Articles