Flask-SQLAlchemy recipes
3 tested Flask-SQLAlchemy integration recipes with Flask, SQLAlchemy, marshmallow-sqlalchemy, marshmallow. Exact pinned versions and a last-passed receipt, last run 2026-10-15.
passed2/2python
Flask 3 app factory + Flask-SQLAlchemy
Flask application factory with Flask-SQLAlchemy 3, a JSON API and pytest fixtures using an in-memory database.
flask@3.1.3flask-sqlalchemy@3.1.1sqlalchemy@2.1.4
last passed 2026-10-15 11:54 UTC
passed5/5python
Flask API with Flask-SQLAlchemy and marshmallow-sqlalchemy, validation errors as 422
A Flask JSON API that loads and dumps SQLAlchemy models through SQLAlchemyAutoSchema, returns validation errors as 422, and is tested offline with the Flask test client on in-memory sqlite.
flask@3.1.3flask-sqlalchemy@3.1.1marshmallow-sqlalchemy@1.5.0
last passed 2026-10-15 11:55 UTC
passed6/6python
Flask-Login sessions with Flask-SQLAlchemy users and werkzeug password hashing
Login, login_required redirects, logout and a user_loader built on db.session.get, with the User model in SQLite memory and tests run through the Flask test client.
flask@3.1.3flask-login@0.6.3flask-sqlalchemy@3.1.1
last passed 2026-10-15 11:54 UTC
Used together with Flask-SQLAlchemy
FlaskSQLAlchemymarshmallow-sqlalchemymarshmallowflask-loginwerkzeug