We attempt to use the same set of frameworks and tools across projects to minimize the number of frameworks developers must keep in their heads.
Flask is designed to be extensible, so it’s common to use extensions with the core flask library. A few common extensions are documented below.
Flask-SQLAlchemy integrates Flask
with SQLAlchemy. It will configure a scoped session for you, set up a
declarative base class, and provide a convenient
flask_sqlalchemy.BaseQuery sub-class for you.
SQLAlchemy-Helpers is an alternative to using Flask-SQLAlchemy if you need your models to be usable from outside Flask.
SQLAlchemy is an SQL toolkit and Object Relational Mapper. It provides a core set of tools (surprisingly called SQLAlchemy Core) for working with SQL databases, as well as an Object Relational Mapper (SQLAlchemy ORM) which is built using SQLAlchemy Core.
Want to help? Learn how to contribute to Fedora Docs ›