Comparison
alembic-autogenerate-enums vs alembic-postgresql-enum
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Alembic hook that allows enums values to be upgraded and downgraded in migrations automatically
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install alembic-autogenerate-enumsAlembic autogenerate support for creation, alteration and deletion of enums
Maintained. Last release 5 weeks ago, commits in 5 of the last 26 weeks. Weaker on commit activity.
$
pip install alembic-postgresql-enumIn short
- alembic-autogenerate-enums is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- alembic-postgresql-enum is the most used: 3.4M downloads a month, 4.0× more than alembic-autogenerate-enums.
- alembic-postgresql-enum also has the best Pythie’s Index (68).
- Safe default for a new project: alembic-postgresql-enum.
Side by side
| Metric | alembic-autogenerate-enums | alembic-postgresql-enum |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 27 | 68 |