PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Database Migrations Python Packages

Python packages with the GitHub topic database-migrations. Sorted by monthly downloads, with stars and forks.
Mergifyio
alembic-git-revisions

Automatic Alembic migration chaining based on git commit history

572K 30 2
tortoise
aerich

A database migrations tool for TortoiseORM, ready to production.

214K 1K 113
memiiso
pyliquibase

Use liquibase java application within python

15K 53 15
wetherc
sustained

A Python ORM, SQL query builder, and schema migration tool, inspired by Objection.js and Knex

4K 1 1
dbwarden-org
dbwarden

DBWarden is a database migration system for Python/SQLAlchemy projects

3K 13 1
beanbaginc
django-evolution

Schema evolutions for django projects

1K 33 8
syrian963
django-chainsaw-mcp

Finds what will hurt in a Django project - cascade impact, N+1 queries, unsafe migrations, unscoped tenant reads - as an MCP server and a CLI. Tested against 18 public projects.

1K 0 0
dblift
pytest-dblift

Flyway-style raw-SQL migrations for Python teams. No JVM, and you see the exact SQL before it runs.

923 10 0
neurobin
morm

Database Object Relational Mapping

863 3 0
ShalomHunukumbura
alembic-guard

Catch Alembic migrations that lock Postgres tables or break running code, before they reach production. CLI + GitHub Action.

798 0 0
juanmicl
sqlpush

Prisma db push for SQLAlchemy: push, diff and check PostgreSQL/TimescaleDB schema straight from your models (SQLAlchemy / SQLModel). Risk-classified, CI-ready, no migration files.

701 2 0
Maksim-Burtsev
py-clickhouse-migrator

SQL-first ClickHouse schema migration CLI for Python — checksums, rollback, dry-run, advisory locking, and cluster support.

651 1 0
el1s7
model-py

A minimal Python ORM for MariaDB/MySQL and SQLite. Made for humans.

560 7 0
dbwarden-org
dbwarden-seeds

DBWarden plugin for seed data management: apply, rollback, and export seed data across environments

429 0 0
Catterall
dbscripts

A small Python package to quickly run database object scripts against a database without dependency issues.

416 1 0
philsupertramp
django-data-migrations

Extraction tool for data only django migrations

330 11 0
OpenEnergyPlatform
oem2orm

Repository for the oem2orm tool. oem2orm creates SQL tables from open energy metadata strings. It also allows to upload and download metadata to and from a table on the OEP.

329 2 1
dbwarden-org
dbwarden-pgsql-extensions

DBWarden plugin for PostgreSQL extensions: CREATE/DROP EXTENSION management in migrations

300 0 0
dbwarden-org
dbwarden-ch-rbac

DBWarden plugin for ClickHouse role-based access control: roles, users, grants, row policies, quotas, and settings profiles

294 0 0
dbwarden-org
dbwarden-pgsql-rbac

DBWarden plugin for PostgreSQL role-based access control: roles, grants, default privileges, and row-level security

293 0 0
dbwarden-org
dbwarden-pgsql-types

DBWarden plugin for PostgreSQL custom types: ENUMs, domains, composite types, and sequences

262 0 0
eyeinthesky6
indexpilot

Stop bad PostgreSQL indexes before they reach production.

259 1 0
dbwarden-org
dbwarden-fastapi

DBWarden plugin for FastAPI: session dependencies, health endpoints, migration routes, and lifespan management

229 0 0
Harshith029
safemigrate-lint

Lint Postgres migrations for the operations that actually break production - lock waits, table rewrites, unsafe constraints. GitHub Action, CLI, or pre-commit. MIT.

222 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology