skillfed

types-Flask-Migrate

Typing stubs for Flask-Migrate

types-flask-migrate v4.1.0.20260508 451.6K downloads/30d#6,585 on PyPI37
Permissive license Apache-2.0 Active released

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-migrate

uv

uv add types-flask-migrate

poetry

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 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

Programming Language :: Python :: 3Typing :: Stubs Only

Tags

flask-migrate type stubstype hints for flask-migratemypy stubs flask migrationspython type checking database migrationstypeshed flask-migratepyright flask-migrate annotations
type-stubsstatic-analysis

More Quality Assurance packages