--- id: types-flask-migrate version: "4.1.0.20260508" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-Flask-Migrate — Typing stubs for Flask-Migrate License: permissive · Maintenance: active · Downloads: 451.6K/mo ## What it is and what it does This package provides type stubs for Flask-Migrate, which handles SQLAlchemy database migrations in Flask applications. Type stubs are metadata files that tell type checkers like mypy and pyright what types Flask-Migrate's functions and classes accept and return, enabling static type validation of code that uses Flask-Migrate and Flask-SQLAlchemy. The stubs are maintained as part of the typeshed project and tested against mypy 1.20.0 and pyright 1.1.408. They target Flask-Migrate version 4.1.*. Since this is a stub-only package, it has no runtime behavior—it only improves the development experience by enabling type checking during development and in CI pipelines. Use it for: - Enable type checkers to validate Flask applications that use Flask-Migrate for database schema management. - Catch migration-related type errors in CI/CD pipelines before code reaches production. - Get IDE autocomplete and type hints when writing code that uses Flask-Migrate. - Validate that migration scripts pass correct argument types to Flask-Migrate functions. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type hints for Flask-Migrate, enabling type checkers like mypy and pyright to validate code using Flask-Migrate for database migrations. Yes, if you use Flask-Migrate and run a type checker in your project. The stubs are actively maintained, have no security vulnerabilities, and low install friction. If you don't use a type checker, this package provides no value. ## Install pip install types-flask-migrate uv add types-flask-migrate poetry add types-flask-migrate ## Installing types-Flask-Migrate Before you install: Low friction install with no compiled dependencies. Actively maintained as part of typeshed; last commit 2026-08-14. Requires Python 3.10 or later. License in practice: Apache-2.0 permissive license allows use in most projects without restriction. Quickstart: pip install types-Flask-Migrate # Type checker (mypy, pyright) will then validate code using Flask-Migrate and Flask-SQLAlchemy Requires Python 3.10 or later; a type checker must be configured in your project to use these stubs. Verify before relying: - Whether type coverage is complete for all Flask-Migrate 4.1.* APIs - Compatibility with Flask-Migrate versions outside the 4.1.* range - Whether this package works with Flask and Flask-SQLAlchemy versions beyond those tested ## Package facts - License: Apache-2.0 (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 451.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags flask-migrate type stubs, type hints for flask-migrate, mypy stubs flask migrations, python type checking database migrations, typeshed flask-migrate, pyright flask-migrate annotations, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-flask-migrate) · [View on PyPI](https://pypi.org/project/types-flask-migrate/)