skillfed

mypy-boto3-forecast

Type annotations for boto3 ForecastService 1.43.0 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-forecast v1.43.0 255.4K downloads/30d#8,478 on PyPI670
Permissive license MIT Active released

What it is and what it does

This package is a type-stub library that adds static type information to boto3's ForecastService client. It is generated from boto3 1.43.0 using mypy-boto3-builder 8.12.0 and works with mypy, pyright, VSCode Pylance, PyCharm, Emacs, and Sublime Text. When installed, it enables IDE code completion and catches type errors at development time without requiring explicit type annotations in your code.

The package contains type definitions for the ForecastService client, paginators, and service-specific types. It is designed as a development-only dependency—you can conditionally import it using TYPE_CHECKING to avoid adding it to production dependencies. The library supports Python 3.9 through 3.14 and depends only on typing-extensions at runtime.

Use it for:

  • Enable IDE autocomplete and type hints when writing boto3 ForecastService code in VSCode, PyCharm, or other supported editors.
  • Run mypy or pyright type checking on code that uses boto3 ForecastService to catch type errors before runtime.
  • Reduce development friction by avoiding manual type annotations for ForecastService client methods and responses.
  • Integrate type checking into CI/CD pipelines for AWS Forecast workflows using standard Python type checkers.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type annotations and IDE autocompletion for boto3's ForecastService client, enabling static type checking with mypy, pyright, and IDE support.

Yes. Install this if you use boto3's ForecastService and want static type checking or IDE autocompletion. It has low install friction, active maintenance, no security issues, and a permissive MIT license. The only caveat is PyCharm users may experience performance issues with Literal overloads—the documentation recommends boto3-stubs-lite as an alternative in that case.

Install

mypy-boto3-forecast on PyPI

pip

pip install mypy-boto3-forecast

uv

uv add mypy-boto3-forecast

poetry

poetry add mypy-boto3-forecast

Installing mypy-boto3-forecast

Before you install

Low friction installation with a single runtime dependency (typing-extensions). Actively maintained as of 2026-06-22 with stable status.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for any project type.

Quickstart

pip install mypy-boto3-forecast

from boto3.session import Session
from mypy_boto3_forecast import ForecastServiceClient

client: ForecastServiceClient = Session().client("forecast")

Requires Python 3.9 or later; boto3 must be installed separately in your environment.

Verify before relying

  • Whether type coverage includes all ForecastService operations and response types
  • Performance impact when used with PyCharm (documentation mentions potential slowness with Literal overloads)

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — typing-extensions
Maintenance actively maintained — 107 days since the last release
Last repo commit
First released
Downloads 255,405/month — #8,478 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_forecast-1.43.0-py3-none-any.whl

Keywords: boto3, forecast, boto3-stubs, type-annotations, mypy, typeshed, autocomplete

Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTyping :: Stubs Only

Tags

boto3 type stubs forecasttype annotations aws forecastmypy boto3 forecast serviceboto3 forecast autocompleteide support boto3 forecaststatic type checking aws forecastpyright boto3 stubs
type-stubsaws-sdkstatic-typing

More Software Development packages