types-Flask-Cors
Typing stubs for Flask-Cors
Decision gist · record as of 2026-08-14
Yes, but with a significant caveat: install this only if you are using Flask-Cors version 6.0.3 or earlier and need type checking support. If your project uses Flask-Cors 6.0.4 or later, uninstall this package as Flask-Cors now includes its own type annotations. For 6.0.3 users, it is worth installing if you use mypy or pyright for static type checking.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Note: Flask-Cors 6.0.4+ includes its own type annotations, making this package unnecessary for newer versions.
- Low install friction with a single runtime dependency on Flask.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restrictions.
last release 2026-07-12 (33 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 926,326 downloads/mo, #4,709 on PyPI
Alternatives
Verify before relying
pip install types-Flask-Cors
# Then use with your type checker (e.g., mypy or pyright)
# in your Flask-Cors code for static type checking- Whether this stub package is still necessary if Flask-Cors has already been updated to 6.0.4 or later in your project.
What it is and what it does
This is a type stub package that provides type annotations for Flask-Cors, allowing static type checkers like mypy and pyright to understand and validate code that uses the Flask-Cors library. Type stubs are separate packages that define the types and signatures of another library's public API, enabling type checking without modifying the original package.
The package is maintained as part of the typeshed project and targets Flask-Cors version 6.0.3. It has been tested with mypy 2.2.0 and pyright 1.1.411. However, the description notes that Flask-Cors 6.0.4 and later versions include their own type annotations, making this stub package redundant for users on those newer versions.
Use it for
- Enable mypy or pyright to type-check Flask-Cors usage in a codebase using Flask-Cors 6.0.3.
- Catch type errors in CORS configuration and decorator usage before runtime.
- Improve IDE autocomplete and inline documentation for Flask-Cors APIs during development.
- Maintain type safety in a fully type-annotated Flask application that uses Flask-Cors.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, but with a significant caveat: install this only if you are using Flask-Cors version 6.0.3 or earlier and need type checking support.
If your project uses Flask-Cors 6.0.4 or later, uninstall this package as Flask-Cors now includes its own type annotations. For 6.0.3 users, it is worth installing if you use mypy or pyright for static type checking.
Install
types-flask-cors on PyPI
Before you install
Low install friction with a single runtime dependency on Flask. Actively maintained as part of the typeshed project, with recent releases and no known vulnerabilities.
Requires Python 3.10 or later. Note: Flask-Cors 6.0.4+ includes its own type annotations, making this package unnecessary for newer versions.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in most projects without significant restrictions.
Quickstart
pip install types-Flask-Cors
# Then use with your type checker (e.g., mypy or pyright)
# in your Flask-Cors code for static type checking
Verify before relying
- Whether this stub package is still necessary if Flask-Cors has already been updated to 6.0.4 or later in your project.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageFlask |
| Maintenance | Actively maintained 33 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 926,326 / month, #4,709 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_flask_cors-6.0.3.20260712-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-cors type stubs”
- types-Flask-CorsProvides type stubs for Flask-Cors to enable static type checking of…
- flask-corsFlask-CORS handles Cross-Origin Resource Sharing (CORS) headers in…
- invenio-restInvenio-REST provides Flask-based REST API infrastructure with…
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-Markdown · types-requests · types-decorator · types-auth0-python · types-Flask-Migrate · types-pyflakes · types-boltons · types-mypy-extensions · types-oauthlib · types-smorest