types-smorest
Type Stubs for flask-smorest
What it is and what it does
types-smorest is a type stub package that provides type annotations for flask-smorest. It enables static type checkers and IDEs to understand the types and signatures available in flask-smorest, improving code quality and developer experience through better autocompletion and type checking.
The package is explicitly partial—it covers only some of the functions and objects available in flask-smorest—and is maintained by the community. It supports Python 3.7 through 3.10 and has no runtime dependencies; it is installed purely to improve the development experience of projects that use flask-smorest.
Use it for:
- Enable static type checkers to validate code that uses flask-smorest without type errors.
- Improve IDE autocompletion and inline documentation when writing flask-smorest API handlers.
- Catch type mismatches in flask-smorest configuration and decorator usage at development time.
- Document expected types for team members working on flask-smorest-based projects.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs for flask-smorest, enabling static type checking and IDE autocompletion when using the flask-smorest library.
Yes, if you use flask-smorest and want static type checking or better IDE support. The low install friction and lack of runtime dependencies make it a safe addition to any development environment. Be aware of the GPLv3 license if your project is proprietary, and note that stub coverage is partial and may lag behind flask-smorest releases.
Install
types-smorest on PyPI
pip
pip install types-smorestuv
uv add types-smorestpoetry
poetry add types-smorestInstalling types-smorest
Before you install
Low friction install with no runtime dependencies. Maintenance is active; the repository received a commit as recently as 2026-08-11, though the last release was 2022-12-13.
License in practice
Licensed under GPLv3 (copyleft). Any code that imports or uses this package in a proprietary project must comply with GPLv3 terms, including potential source code disclosure obligations.
Quickstart
# Install types-smorest
$ pip install types-smorest
# Type hints are now available for static checkers
import types_smorest
Requires Python 3.7 or later. This is a stub-only package and must be installed alongside flask-smorest itself to be useful.
Verify before relying
- How complete the stub coverage is beyond the partial coverage mentioned in the description.
- Whether the stubs are kept synchronized with current flask-smorest releases.
- What specific functions and objects in flask-smorest are covered by the stubs.
Package facts
| License | GPLv3 (copyleft) |
| Python support | supports the current Python release (>=3.7, <4) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 1,340 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 991,522/month — #4,559 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_smorest-1.1.2-py3-none-any.whl
Keywords: flask, flask-smorest, smorest, stubs
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
types-pysaml2Provides type annotations (stubs) for the…
copyleft · top 15,000 on PyPI
types-sqlalchemy-utilsProvides type stubs for sqlalchemy-utils,…
copyleft · top 5,000 on PyPI
plotly-stubsProvides static type annotations (stubs) for…
permissive · top 15,000 on PyPI
celery-typesProvides type stubs for Celery and related…
permissive · top 5,000 on PyPI
ob-metaflow-stubsProvides type hints and stub files for the…
permissive · top 15,000 on PyPI
verminVermin analyzes Python source code to detect…
permissive · top 15,000 on PyPI
types-FlaskProvides PEP 561 type stubs for Flask to enable…
permissive · top 5,000 on PyPI
autotypingAutomatically infers and adds type annotations…
permissive · top 15,000 on PyPI
types-Flask-CorsProvides type stubs for Flask-Cors to enable…
permissive · top 5,000 on PyPI
types-Flask-SQLAlchemyProvides type stubs for Flask-SQLAlchemy to…
permissive · top 15,000 on PyPI