Skip to content
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

731K 30 2
tortoise
aerich

A database migrations tool for TortoiseORM, ready to production.

330K 1K 113
memiiso
pyliquibase

Use liquibase java application within python

14K 54 15
dblift
dblift

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

9K 12 0
curtis-turner
stint

Declarative schema-as-code and ORM for work-management systems. Jira first, dialect protocol for the rest.

7K 1 0
DRYCodeWorks
ch-migrate-cli

ClickHouse schema migrations in plain SQL, built on Alembic. Checks that every migration is safe to retry, and runs on ClickHouse Cloud.

4K 1 1
dbwarden-org
dbwarden

DBWarden is a database migration system for Python/SQLAlchemy projects

3K 16 1
beanbaginc
django-evolution

Schema evolutions for django projects

3K 33 8
O2eg
pg-logical-repl

Plan-driven PostgreSQL logical replication with initial data copy, DDL replay, data validation, and controlled cutover.

2K 0 0
neurobin
morm

A minimal asynchronous database object relational mapper

2K 3 0
wetherc
sustained

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

1K 1 1
rayanmahdinejad
django-db-portability

Static analysis and runtime helpers to catch Django database portability issues before they reach production.

883 2 0
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.

815 1 0
Catterall
dbscripts

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

701 1 0
Harshith029
safemigrate-lint

Lint Postgres migration SQL for the dangerous operations that break production — as a GitHub Action, CLI, or pre-commit hook.

626 1 0
eyeinthesky6
indexpilot

Stop bad PostgreSQL indexes before they reach production.

534 1 0
namitkewat
iceberg-ops

Alembic-style schema migrations for Apache Iceberg: versioned, reviewable, autogenerated, with history in your catalog. Pure Python on PyIceberg.

514 0 0
juanmicl
sqlpush

Schema lifecycle tool for production PostgreSQL/TimescaleDB on SQLAlchemy 2.0 (SQLModel included): diff, push and check schema drift straight from your models

481 2 0
philsupertramp
django-data-migrations

Extraction tool for data only django migrations

444 11 0
nmrkic
postgresledger

Versioned PostgreSQL migrations from plain SQL, no ORM. Generated from schema.sql, tracked per database, with drift detection.

413 0 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.

363 2 1
Maksim-Burtsev
py-clickhouse-migrator

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

306 1 0
onjin
liquimigrate

Liquibase migrations with django

285 3 5
tunnelworks
postcar

A database migration utility for Postgres

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