Comparison
alembic vs asyncpg-trek vs peewee-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 17 of the last 26 weeks. A safe choice.
pip install alembicA simple migrations system for asyncpg
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install asyncpg-trekSupport for migrations in Peewee ORM
Maintained. Last release 10 days ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install peewee-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
- asyncpg-trek is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- 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: 243.4M downloads a month, 195× more than yoyo-migrations.
- alembic also has the best Pythie’s Index (87).
- peewee-migrate is growing fastest: downloads +59% over the last month.
- Safe default for a new project: alembic.
Side by side
| Metric | alembic | asyncpg-trek | peewee-migrate | yoyo-migrations |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | 19 |