$npx skillfedfor your agent

types-Flask

Typing stubs for Flask

SkipPyPI Quality AssuranceReleased Nov 20211.4M downloads / moApache-2.0 licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — types_Flask-1.1.6-py3-none-any.whl
v1.1.6 · released 2021-11-26 · 3 runtime deps: types-Jinja2, types-Werkzeug, types-click

No for most users. If you are using Flask 2.0 or later, Flask includes native type annotations and you should not install this package. Only install types-Flask if you are maintaining Flask 1.x code and need type-checking support; otherwise, upgrade Flask and rely on its built-in stubs.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Flask 2.0 and later include native type annotations; installing types-Flask alongside Flask 2.0+ is redundant and should be avoided.
  • Low install friction with three lightweight type-stub runtime dependencies.
  • Maintenance is active with regular updates from the typeshed repository, though the latest release is from 2021-11-26.

License · maintenance · safety

Apache-2.0 license (permissive) — Licensed under Apache-2.0, a permissive open-source license that allows free use, modification, and distribution with minimal restrictions.

last release 2021-11-26 (1722 days) · last repo commit 2026-08-14 · 5,108 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,432,193 downloads/mo, #3,910 on PyPI

Verify before relying

pip install types-Flask

import flask
app = flask.Flask(__name__)
  • Whether this package is still actively maintained given the latest release date of 2021-11-26 and the note that Flask 2.0+ includes native stubs.
  • Coverage and accuracy of type stubs relative to current Flask versions.
Same gist for agents: .md · .json

What it is and what it does

types-Flask is a PEP 561 type stub package that provides type information for the Flask web framework. It allows static type checkers like mypy and PyCharm to understand Flask's API and catch type errors in code that uses Flask. The package is sourced from the typeshed project and depends on three related type stub packages: types-Jinja2, types-Werkzeug, and types-click.

However, this package is largely superseded: Flask has included native type annotations since version 2.0, making types-Flask redundant for modern Flask installations. The package is maintained through typeshed but should only be installed if you are using Flask 1.x or need stubs for an older Flask version.

Use it for

  • Type-checking Flask 1.x applications with mypy or similar tools when native stubs are unavailable.
  • Enabling IDE autocomplete and type hints in editors like PyCharm for Flask 1.x projects.
  • Validating Flask route handlers and request/response types in legacy codebases before upgrading.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No for most users.

If you are using Flask 2.0 or later, Flask includes native type annotations and you should not install this package. Only install types-Flask if you are maintaining Flask 1.x code and need type-checking support; otherwise, upgrade Flask and rely on its built-in stubs.

Install

types-flask on PyPI

Before you install

Low install friction with three lightweight type-stub runtime dependencies. Maintenance is active with regular updates from the typeshed repository, though the latest release is from 2021-11-26.

Flask 2.0 and later include native type annotations; installing types-Flask alongside Flask 2.0+ is redundant and should be avoided.

License in practice

Licensed under Apache-2.0, a permissive open-source license that allows free use, modification, and distribution with minimal restrictions.

Quickstart

pip install types-Flask

import flask
app = flask.Flask(__name__)

Verify before relying

  • Whether this package is still actively maintained given the latest release date of 2021-11-26 and the note that Flask 2.0+ includes native stubs.
  • Coverage and accuracy of type stubs relative to current Flask versions.

Package facts

LicenseApache-2.0 license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
types-Jinja2types-Werkzeugtypes-click
MaintenanceActively maintained 1,722 days since the last release
Last repo commit
First released
Downloads1,432,193 / month, #3,910 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: Apache Software LicenseTyping :: Typed

Evidence: types_Flask-1.1.6-py3-none-any.whl

Tags

Capabilities
flask type stubsflask type checkingmypy flask typesflask type hintspep 561 stubsflask static typing
Topics
type-stubsstatic-typing

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 type stubs”

  • types-FlaskProvides PEP 561 type stubs for Flask to enable static type checking…
  • types-smorestProvides type stubs for flask-smorest, enabling static type checking…
  • types-Flask-MigrateProvides type hints for Flask-Migrate, enabling type checkers like…

Give your agent the search over MCP, or paste the wish link into any chat.

More Quality Assurance packages

coverage Worth it
PyPI · Testing · released Aug 2026

Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.

Install it if you want to measure test completeness or enforce coverage thresholds in your project.

permissive licensepure Python · 3.10+
335.8Mdownloads / mo
ruff Worth it
PyPI · Python Modules · released Aug 2026

Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.

MITcompiled wheel · 3.7+
316.1Mdownloads / mo
pexpect With conditions
PyPI · Software Development · released Nov 2023

Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.

ISCpure Pythonaging
200.8Mdownloads / mo
black Worth it
PyPI · Python Modules · released May 2026

Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.

MITpure Python · 3.10+
179.9Mdownloads / mo
pytest-xdist Worth it
PyPI · Utilities · released Jul 2025

pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.

Install it if your test suite takes long enough that parallelization would save meaningful time.

MITpure Python · 3.9+
177.1Mdownloads / mo
cfn-lint Worth it
PyPI · Quality Assurance · released Aug 2026

Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.

Install it if you work with CloudFormation templates.

MIT-0pure Python
114.9Mdownloads / mo

See also types-certifi · types-filelock · types-Jinja2 · types-Werkzeug · trio-typing · types-Flask-SQLAlchemy · types-pkg-resources · types-MarkupSafe · types-geoip2 · pymupdf-stubs