Comparison
alembic vs sqlalchemy-migrate vs yoyo-migrations
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A database migration tool for SQLAlchemy.
Actively maintained. Last release 6 weeks ago, commits in 15 of the last 26 weeks. A safe choice.
$
pip install alembicDatabase schema migration for SQLAlchemy
Likely abandoned. No release or commit for years (last release over 7 years ago).
$
pip install sqlalchemy-migrateDatabase migrations with SQL
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install yoyo-migrationsIn short
- sqlalchemy-migrate looks abandoned: avoid it for new projects.
- yoyo-migrations is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- alembic is the most used: 238.3M downloads a month, 196× more than yoyo-migrations.
- alembic also has the best Pythie’s Index (87).
- alembic is growing fastest: downloads +13% over the last month.
- Safe default for a new project: alembic.
Side by side
| Metric | alembic | sqlalchemy-migrate | yoyo-migrations |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | 19 |