sqlalchemy/alembic

A database migrations tool for SQLAlchemy.

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 39 minutes ago
Added to GitGenius on September 15th, 2026
Created on November 27th, 2018
Open Issues & Pull Requests: 117 (+0)
GitHub issues: Enabled
Number of forks: 375
Total Stargazers: 4,403 (+0)
Total Subscribers: 24 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.0 hours
Mean response time: 123.1 days
90th percentile: 42.2 days
Tracked items: 164

Most active contributors

Sign in to see contributor activity.

How this project is maintained

About 4% of issues opened in the past year have never received a reply. 91% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. 89% of issues opened in the past year have been closed, leaving a working backlog. Three people close 78% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 35
New in 7 days: 0
Closed in 7 days: 1
Avg open age: 1,435 days
Stale 30+ days: 31
Stale 90+ days: 16

Recent activity

Opened in 7 days: 0
Closed in 7 days: 1
Comments in 7 days: 4
Events in 7 days: 7

Top labels

  • bug (63)
  • use case (39)
  • autogenerate - detection (27)
  • autogenerate - rendering (27)
  • postgresql (17)
  • op directives (16)
  • feature (14)
  • typedecorator (12)

Most active issues this week

Detailed Description

Alembic is a database migrations tool for SQLAlchemy that manages schema changes across database versions.

Alembic solves the problem of tracking and applying incremental database schema changes in a version-controlled, reproducible way. It works by generating migration scripts that capture the differences between your SQLAlchemy models and the current database schema, then applies those changes in a controlled sequence. The tool supports both automatic migration generation from model changes and manual migration writing for complex scenarios. It maintains a history of applied migrations, allowing you to move forward or backward through schema versions as needed.

Alembic suits projects that use SQLAlchemy as their ORM and need to evolve their database schema over time while maintaining consistency across development, testing, and production environments. It is particularly valuable in team settings where multiple developers need to coordinate schema changes, and in continuous deployment pipelines where schema migrations must be automated and auditable. The tool is the standard migration solution in the SQLAlchemy ecosystem and integrates directly with SQLAlchemy's declarative models, making it a natural choice for projects already using that library.

The project maintains steady development activity with regular commits addressing bug fixes and feature enhancements. Pull requests are reviewed and merged consistently, indicating active maintenance. The issue tracker shows ongoing engagement with user-reported problems and feature requests. Documentation receives updates alongside code changes, keeping guidance aligned with the tool's current capabilities.