{"categories":[{"label":"Database","url":"https://skillfed.io/packages/category/database/2"}],"enrichment":{"capability":"Extends Alembic to autogenerate database migrations for PostgreSQL functions, views, materialized views, triggers, and policies alongside standard SQLAlchemy model changes.","skillfed_tags":["database-migration","postgresql","sqlalchemy"],"use_cases":["Autogenerate migrations when adding or updating PostgreSQL stored functions in a SQLAlchemy project.","Track changes to database views and materialized views as part of your standard Alembic workflow.","Manage PostgreSQL row-level security policies alongside table schema migrations.","Detect and migrate trigger definitions without writing raw SQL in migration scripts.","Keep PostgreSQL procedures in sync with application code in a version-controlled migration history."],"what_it_does":"Alembic Utils is an extension to Alembic, the standard SQLAlchemy migration tool, that adds autogeneration support for PostgreSQL-specific database objects. While Alembic natively detects changes to SQLAlchemy models and generates migration scripts, it does not handle PostgreSQL functions, views, materialized views, triggers, or policies. This package fills that gap by letting you register these entities in your migration environment and have Alembic automatically detect when they are created, modified, or removed, then populate the upgrade and downgrade sections of your migration scripts.\n\nYou define PostgreSQL entities using classes like PGFunction, PGView, and PGTrigger, register them with the migration system, and then run `alembic revision --autogenerate` as usual. The tool compares your registered definitions against the database and generates the necessary SQL to bring them into sync. This eliminates manual SQL writing for these common schema changes and keeps your migrations declarative and version-controlled alongside your application code.","worth_installing":"Yes, if you use Alembic with PostgreSQL and need to version-control functions, views, triggers, or policies. The low install friction, permissive license, and stable maintenance history make it a safe addition to SQLAlchemy projects. The aging release cycle is not a blocker\u2014the package is feature-complete for its scope and the repository shows recent activity. Install it if PostgreSQL-specific schema objects are part of your migration strategy."},"id":"alembic-utils","links":{"html":"https://skillfed.io/packages/alembic-utils","md":"https://skillfed.io/packages/alembic-utils.md","pypi":"https://pypi.org/project/alembic-utils/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-04-10","license_spdx":null,"license_treatment":"permissive","name":"alembic_utils","python_support":"supports_current","summary":"A sqlalchemy/alembic extension for migrating procedures and views"},"popularity":{"monthly_downloads":1604291,"position":3726,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.8.8"}
