FindSoftware

Alembic

Database migration tool for Python that runs versioned schema changes through SQLAlchemy.

Alembic is a database migration tool for Python projects that use SQLAlchemy. It runs migration scripts that change a database’s schema, and each script can upgrade the database to a new state or step it back down. The README describes an autogenerate step that compares the database with the SQLAlchemy models and writes candidate scripts for the developer to edit before running them.

Alembic installs from PyPI with pip. The README says Alembic is written by the author of SQLAlchemy, and the front page states that it is part of the SQLAlchemy project.

Worth knowing

SQLite supports few ALTER statements, so Alembic’s batch mode rebuilds a table as a copy and moves the rows across when a migration changes it. The batch page describes this process.

Identity

Status
Active
Maintainer
Michael Bayer5
First release
20114

Rendering and deploy

Install with
pip7

Releases

Current major version
111
Last release
2026-10-2211

Adoption

GitHub stars
4,4642
Contributors
20112
Dependent repositories
52,45613
Dependent packages
62013

Why these figures do not compare

Sources

  1. 2026-11-04: links, Categories
    alembic.sqlalchemy.org/
  2. 2026-11-04: links, License, GitHub stars
    api.github.com/repos/sqlalchemy/alembic
  3. 2026-11-04: links
    alembic.sqlalchemy.org/en/latest/
  4. 2026-11-04: First release
    pypi.org/pypi/alembic/json
  5. 2026-11-04: Maintainer, License, License model
    github.com/sqlalchemy/alembic/blob/main/LICENSE
  6. 2026-11-04: Written in
    github.com/sqlalchemy/alembic
  7. 2026-11-04: Runtime, Install with
    alembic.sqlalchemy.org/en/latest/front.html
  8. 2026-11-04: Minimum runtime
    github.com/sqlalchemy/alembic/blob/rel_1_20_1/pyproject.toml
  9. 2026-11-04: Databases
    github.com/sqlalchemy/alembic/blob/main/README.rst
  10. 2026-11-04: Databases
    alembic.sqlalchemy.org/en/latest/changelog.html
  11. 2026-11-04: Current major version, Last release
    github.com/sqlalchemy/alembic/releases/tag/rel_1_20_1
  12. 2026-11-04: Contributors
    api.github.com/repos/sqlalchemy/alembic/contributors
  13. 2026-11-04: Dependent packages, Dependent repositories
    packages.ecosyste.ms/api/v1/registries/pypi.org/packages/alembic

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON