alembic

A database migration tool for SQLAlchemy.

Here are some articles that you may find helpful