Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. FastAPI
  3. Aerich

Aerich

Apache-2.0Pythonv0.9.3

A database migrations tool for TortoiseORM, similar to Alembic for SQLAlchemy or Django's migration system.

Visit WebsiteGitHubGitHub
1.1k stars113 forks0 contributors

What is Aerich?

Aerich is a dedicated database migration tool for TortoiseORM, designed to manage schema changes in a production-ready manner. It provides a command-line interface and programmatic API to handle versioned migrations, making it an essential component for TortoiseORM-based applications that require reliable database evolution.

Target Audience

Developers using TortoiseORM in Python applications who need a structured way to handle database schema migrations, particularly those managing multiple apps or databases within a single project.

Value Proposition

Aerich integrates seamlessly with TortoiseORM, offering automatic migration generation, version control, and database inspection, with unique features like multi-app support and managed table ignoring for flexible schema management.

Overview

A database migrations tool for TortoiseORM, ready to production.

Use Cases

Best For

  • Managing database schema migrations for TortoiseORM-based Python applications.
  • Automatically generating migration files from model changes in TortoiseORM projects.
  • Handling versioned database upgrades and downgrades with optional fake operations.
  • Introspecting existing database tables to generate TortoiseORM model code for MySQL, PostgreSQL, and SQLite.
  • Supporting migrations across multiple TortoiseORM apps and database connections in a single project.
  • Excluding specific tables from migration management using managed=False in model Meta.

Quick Stats

Stars1,088
Forks113
Contributors0
Open Issues23
Last commit12 days ago
CreatedSince 2020

Tags

#orm#tortoise-orm#cli-tool#python#database-migrations#postgresql#mysql#schema-management#migration-tool#production-ready

Built With

P
Python

Links & Resources

Website

Included in

FastAPI11.2k
Auto-fetched 7 hours ago

Related Projects

GINOGINO

GINO Is Not ORM - a Python asyncio ORM on SQLAlchemy core.

Stars2,798
Forks150
Last commit4 years ago
PiccoloPiccolo

A fast, user friendly ORM and query builder which supports asyncio.

Stars1,931
Forks110
Last commit17 hours ago
ORMORM

An async ORM. 🗃

Stars1,863
Forks96
Last commit3 years ago
FastAPI SQLAlchemyFastAPI SQLAlchemy

Adds simple SQLAlchemy support to FastAPI

Stars757
Forks44
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub