Comparison
aerich vs alembic vs asyncpg-trek
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A database migrations tool for Tortoise ORM.
Maintained. Last release 3 months ago, commits in 8 of the last 26 weeks. Weaker on contributor spread.
$
pip install aerichA 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 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-trekIn short
- asyncpg-trek 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, 705× more than aerich.
- alembic also has the best Pythie’s Index (87).
- aerich is growing fastest: downloads +17% over the last month.
- Safe default for a new project: alembic.
Side by side
| Metric | aerich | alembic | asyncpg-trek |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 66 | 87 |