types-Flask-SQLAlchemy
Typing stubs for Flask-SQLAlchemy
Decision gist · record as of 2026-08-14
No, unless you are maintaining a legacy codebase using Flask-SQLAlchemy before version 3.0.1. For any modern Flask-SQLAlchemy project (3.0.1+), uninstall this package and rely on the library's built-in type annotations instead. The package has not been updated since May 2023 and will not receive updates for newer Flask-SQLAlchemy versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Only useful if you are using Flask-SQLAlchemy versions prior to 3.0.1, which did not include built-in type annotations.
- Flask-SQLAlchemy 3.0.1+ should be used without this package.
- Low friction to install as a wheel-only package with a single runtime dependency.
License · maintenance · safety
Apache-2.0 license (permissive) — Apache-2.0 permissive license allows free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
last release 2023-05-10 (1192 days) · last repo commit 2026-08-14 · 5,108 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 243,472 downloads/mo, #8,793 on PyPI
Alternatives
Verify before relying
pip install types-Flask-SQLAlchemy
# Then use with your type checker (e.g., mypy)
# mypy your_flask_sqlalchemy_code.py- Whether this package's type stubs remain accurate for Flask-SQLAlchemy versions since the last release in May 2023.
- Compatibility with the latest versions of mypy, pyright, and other type checkers that have evolved since the last update.
What it is and what it does
This package provides PEP 561 type stub files for Flask-SQLAlchemy, allowing static type checkers to understand and validate the types used in Flask-SQLAlchemy code. It acts as a bridge between the Flask-SQLAlchemy library and tools like mypy, pyright, and pytype, enabling developers to catch type errors before runtime.
The stubs depend on types-SQLAlchemy for core SQLAlchemy type information. However, the package is now largely superseded: Flask-SQLAlchemy has included its own type annotations since version 3.0.1, making this stub package redundant for modern codebases. It remains useful only for projects still using older versions of Flask-SQLAlchemy that lack built-in typing support.
Use it for
- Type-checking Flask-SQLAlchemy code with mypy when using Flask-SQLAlchemy versions prior to 3.0.1.
- Enabling IDE autocomplete and type hints for Flask-SQLAlchemy in editors like PyCharm when using older versions.
- Validating ORM queries and model definitions against type contracts in legacy projects.
- Integrating Flask-SQLAlchemy into a typed Python codebase that uses pyright or pytype for static analysis.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No, unless you are maintaining a legacy codebase using Flask-SQLAlchemy before version 3.0.1.
For any modern Flask-SQLAlchemy project (3.0.1+), uninstall this package and rely on the library's built-in type annotations instead. The package has not been updated since May 2023 and will not receive updates for newer Flask-SQLAlchemy versions.
Install
types-flask-sqlalchemy on PyPI
Before you install
Low friction to install as a wheel-only package with a single runtime dependency. Maintenance is active, though the package has not been updated since May 2023; note that Flask-SQLAlchemy 3.0.1+ includes its own type annotations, making this package redundant for newer versions.
Only useful if you are using Flask-SQLAlchemy versions prior to 3.0.1, which did not include built-in type annotations. Flask-SQLAlchemy 3.0.1+ should be used without this package.
License in practice
Apache-2.0 permissive license allows free use, modification, and distribution with minimal restrictions, suitable for both open-source and commercial projects.
Quickstart
pip install types-Flask-SQLAlchemy
# Then use with your type checker (e.g., mypy)
# mypy your_flask_sqlalchemy_code.py
Verify before relying
- Whether this package's type stubs remain accurate for Flask-SQLAlchemy versions since the last release in May 2023.
- Compatibility with the latest versions of mypy, pyright, and other type checkers that have evolved since the last update.
Package facts
| License | Apache-2.0 license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetypes-SQLAlchemy |
| Maintenance | Actively maintained 1,192 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 243,472 / month, #8,793 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_Flask_SQLAlchemy-2.5.9.4-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “flask-sqlalchemy type stubs”
- types-Flask-SQLAlchemyProvides type stubs for Flask-SQLAlchemy to enable static type…
- pylint-flask-sqlalchemyA Pylint plugin that suppresses false-positive no-member errors when…
- Flask-SQLAlchemyFlask-SQLAlchemy integrates SQLAlchemy database operations into Flask…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-SQLAlchemy · types-Flask · types-appdirs · pylint-flask-sqlalchemy · types-influxdb-client · types-redis · types-typed-ast · types-chardet · types-filelock · types-humanfriendly