{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/14"},{"label":"Database","url":"https://skillfed.io/packages/category/database/3"}],"enrichment":{"capability":"Aerich is a database migration tool for TortoiseORM that generates, tracks, and applies schema changes through a CLI and programmatic interface, similar to Alembic for SQLAlchemy.","skillfed_tags":["async-orm","schema-migration","cli-tool"],"use_cases":["Track and apply schema changes in TortoiseORM projects without manually writing SQL or managing version state.","Reverse-engineer existing MySQL, PostgreSQL, or SQLite databases into TortoiseORM model definitions via inspectdb.","Manage multiple database connections and per-app migration directories in complex projects.","Programmatically run migrations within an application using the Command class instead of CLI.","Roll back database changes to a previous version when a migration causes issues."],"what_it_does":"Aerich is a migration tool designed specifically for TortoiseORM, an async Python ORM. It provides a command-line interface and programmatic API to generate, version, and apply database schema changes. The tool detects model changes, generates migration files with timestamped versions, and can upgrade or downgrade the database schema. It also includes an inspectdb command to reverse-engineer existing database tables into TortoiseORM model definitions.\n\nThe package depends on tortoise-orm (the ORM it targets), dictdiffer (for comparing model states), asyncclick (for CLI), and anyio (for async compatibility). It's actively maintained and supports modern Python versions (3.10 through 3.14). However, the project's own documentation warns that tortoise-orm>=1.0.0 includes built-in migration support as an alternative, so users should verify whether Aerich or the built-in solution better fits their needs.","worth_installing":"Yes, if you are using TortoiseORM and need structured database migrations. The package is actively maintained, has no known vulnerabilities, and low install friction. However, check whether tortoise-orm>=1.0.0's built-in migration support meets your needs first, as the project itself recommends it as an alternative for newer versions."},"id":"aerich","links":{"html":"https://skillfed.io/packages/aerich","md":"https://skillfed.io/packages/aerich.md","pypi":"https://pypi.org/project/aerich/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-05","license_spdx":null,"license_treatment":"permissive","name":"aerich","python_support":"supports_current","summary":"A database migrations tool for Tortoise ORM."},"popularity":{"monthly_downloads":274337,"position":8192,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.10.0"}
