skillfed

sqlalchemy-migrate

Database schema migration for SQLAlchemy

sqlalchemy-migrate v0.13.0 89.3K downloads/30d#13,668 on PyPI
Permissive license Abandoned released

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-migrate

uv

uv add sqlalchemy-migrate

poetry

poetry add sqlalchemy-migrate

Installing 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

Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6

Tags

database schema migrationsqlalchemy migrationsdatabase versioningschema change managementdatabase changesetsmigration tool pythonrails-like migrations
abandonedlegacy-toolschema-migration

More Database packages