sqlalchemy-migrate
Database schema migration for SQLAlchemy
What it is and what it does
SQLAlchemy Migrate is a database schema migration tool inspired by Ruby on Rails migrations. It extends SQLAlchemy with changeset handling, allowing you to version-control and apply incremental schema changes through a repository mechanism accessible both from the command line and from Python code.
The package classifies support for Python 2.7 and Python 3.3–3.6. It depends on SQLAlchemy, pbr, decorator, six, sqlparse, and Tempita. However, the project has been abandoned since 2019-10-22, with no active maintenance, security updates, or compatibility work for modern Python or SQLAlchemy versions.
Use it for:
- Manage incremental database schema changes in legacy SQLAlchemy projects still on older versions.
- Version-control database migrations alongside application code in projects already using this tool.
- Run migrations from command-line scripts in deployment pipelines for projects locked to this framework.
- Inspect and replay historical schema changes from a repository when migrating away from this tool.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides database schema migration management for SQLAlchemy projects, enabling version-controlled changesets and command-line tools to track and apply database schema changes.
No, unless you are maintaining an existing project already using this package. For new projects, use a maintained migration tool. The package is abandoned with no updates since 2019-10-22, and offers no path to compatibility with modern SQLAlchemy or Python versions. Security and compatibility risks outweigh any benefit.
Install
sqlalchemy-migrate on PyPI
pip
pip install sqlalchemy-migrateuv
uv add sqlalchemy-migratepoetry
poetry add sqlalchemy-migrateInstalling sqlalchemy-migrate
Before you install
Low install friction with a wheel distribution and straightforward dependencies. However, the package is abandoned—last release was 2019-10-22. No active maintenance or security updates should be expected.
License in practice
Licensed under Apache Software License (permissive), which allows commercial and private use with minimal restrictions, though you should review the full license terms for your use case.
Quickstart
pip install sqlalchemy-migrate
from migrate.versioning import api
api.version_control(url, repository_path)
api.upgrade(url, repository_path)
Package is abandoned and not maintained; compatibility with modern SQLAlchemy versions is not guaranteed.
Verify before relying
- Whether this package works reliably with current SQLAlchemy versions beyond those listed in classifiers.
- Active community or fork status—description mentions a fork but does not confirm current maintainability.
- Whether maintained alternatives would be a better choice for new projects.
Package facts
| License | not declared (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 6 — pbr, SQLAlchemy, decorator, six, sqlparse, Tempita |
| Maintenance | abandoned — 2,488 days since the last release |
| First released | |
| Downloads | 89,348/month — #13,668 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: sqlalchemy_migrate-0.13.0-py2.py3-none-any.whl
Tags
More Database packages
psycopg2-binary is a PostgreSQL database…
copyleft · top 1,000 on PyPI
redisPython client library for connecting to and…
permissive · top 1,000 on PyPI
ydbYDB Python SDK is the official client library…
permissive · top 1,000 on PyPI
snowflake-connector-pythonConnects Python applications to Snowflake data…
permissive · top 1,000 on PyPI
sqlparsesqlparse tokenizes SQL text into a tree of…
permissive · top 1,000 on PyPI
dbt-adaptersProvides base adapter protocols and shared…
permissive · top 1,000 on PyPI
atlas-provider-sqlalchemyConnects SQLAlchemy models to Atlas to…
unclear · top 15,000 on PyPI
Flask-MigrateFlask-Migrate handles SQLAlchemy database…
permissive · top 5,000 on PyPI
alembicAlembic generates and manages database schema…
permissive · top 1,000 on PyPI
sqlite-migrateA compatibility shim that re-exports the…
permissive · top 15,000 on PyPI
peewee-migratePeewee Migrate provides a command-line and…
permissive · top 15,000 on PyPI
yoyo-migrationsYoyo-migrations is a database schema migration…
permissive · top 15,000 on PyPI
django-syzygyAutomates Django database migration deployment…
permissive · top 15,000 on PyPI
Flask-AlembicFlask-Alembic integrates Alembic database…
permissive · top 15,000 on PyPI
mongodb-migrationsManages schema migrations for MongoDB databases…
copyleft · top 15,000 on PyPI
django-add-default-valueProvides a Django migration operation to set…
permissive · top 15,000 on PyPI