SQLAlchemy and Alembic 2 · Engine, models and tables

Install SQLAlchemy

Install SQLAlchemy and a database driver, for example psycopg for PostgreSQL.

pip install sqlalchemy psycopg[binary]

Official SQLAlchemy and Alembic 2 documentation

More engine, models and tables commands

All engine, models and tables commands · SQLAlchemy and Alembic 2 cheatsheet

Was this page helpful?