Database Migration Tools
Database Migrations for SQLAlchemy
★ 4.7
Legacy Django Migrations
★ 4.0
pip install alembicpip install Southpip install alembicpip install SouthAlembic is the standard migration tool for SQLAlchemy-based Python projects. Engineers run `alembic revision --autogenerate` to create a migration script from model changes, review and edit the script, then apply it with `alembic upgrade head`. This ensures database schema changes are versioned, reviewed, and applied consistently across dev, staging, and production.
Engineers maintaining legacy Django projects running Django 1.6 or earlier use South to manage schema evolution. New projects should use Django's built-in migrations instead. For teams upgrading legacy codebases, South migrations can be converted to Django native migrations using the `manage.py migrate --run-syncdb` workflow.
Individual Tool Pages