skillfed

types-smorest

Type Stubs for flask-smorest

types-smorest v1.1.2 991.5K downloads/30d#4,559 on PyPI2
Copyleft license GPLv3 Active released

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

uv

uv add types-smorest

poetry

poetry add types-smorest

Installing 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

Development Status :: 3 - AlphaFramework :: FlaskIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Typing :: Stubs Only

Tags

flask-smorest type stubstype hints for flask-smorestflask-smorest typingstatic type checking flaskflask api documentation typessmorest type annotations
type-stubsflask-ecosystem

More Application Frameworks packages