types-Flask-Migrate
Typing stubs for Flask-Migrate
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 on this page — 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
types-flask-migrate on PyPI
pip
pip install types-flask-migrateuv
uv add types-flask-migratepoetry
poetry add types-flask-migrateInstalling 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 the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — Flask-SQLAlchemy, Flask |
| Maintenance | actively maintained — 98 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 451,581/month — #6,585 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_flask_migrate-4.1.0.20260508-py3-none-any.whl
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
types-tabulateProvides type hints for the tabulate package,…
permissive · top 5,000 on PyPI
types-mysqlclientProvides type annotations for the mysqlclient…
permissive · top 15,000 on PyPI
types-Flask-CorsProvides type stubs for Flask-Cors to enable…
permissive · top 5,000 on PyPI
Flask-MigrateFlask-Migrate handles SQLAlchemy database…
permissive · top 5,000 on PyPI
types-grpcio-reflectionProvides type hints for grpcio-reflection,…
permissive · top 15,000 on PyPI
types-html5libProvides type hints for the html5lib HTML…
permissive · top 5,000 on PyPI
types-python-joseProvides type hints for the python-jose…
permissive · top 5,000 on PyPI
types-retryProvides type hints for the retry package,…
permissive · top 5,000 on PyPI
types-jsonschemaProvides type hints for the jsonschema package,…
permissive · top 5,000 on PyPI
types-toposortProvides type hints for the toposort package,…
permissive · top 15,000 on PyPI