skillfed

mypy-boto3-cost-optimization-hub

Type annotations for boto3 CostOptimizationHub 1.43.25 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-cost-optimization-hub v1.43.25 243.1K downloads/30d#8,828 on PyPI670
Permissive license MIT Active released

What it is and what it does

This package is a type-stub library that adds type annotations to boto3's CostOptimizationHub service. It is generated automatically from boto3's API definitions using mypy-boto3-builder and enables IDEs and type checkers to provide accurate autocomplete, inline documentation, and type validation when writing code that interacts with AWS CostOptimizationHub.

The package is designed as a development-time dependency only—it provides no runtime functionality and is safe to exclude from production deployments using TYPE_CHECKING guards. It works with mypy, pyright, VSCode Pylance, PyCharm, Emacs, and Sublime Text, allowing developers to catch type errors early and write more maintainable AWS integration code.

Use it for:

  • Enable IDE autocomplete and inline type hints when writing boto3 CostOptimizationHub client code in VSCode or PyCharm.
  • Run mypy or pyright type checking on AWS CostOptimizationHub integration code to catch type mismatches before runtime.
  • Provide explicit type annotations for function parameters and return values that accept or return CostOptimizationHub client objects.
  • Generate accurate documentation and type information for paginators and service resources used with CostOptimizationHub.
  • Reduce development friction when refactoring AWS cost optimization code by catching breaking API changes at type-check time.

Worth the install?

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

Provides type annotations and IDE autocomplete support for boto3's CostOptimizationHub service, compatible with mypy, pyright, VSCode, PyCharm, and other type-aware tools.

Yes. Install this if you use boto3's CostOptimizationHub service and want type safety and IDE support. The package is lightweight, actively maintained, has no security issues, carries a permissive MIT license, and integrates seamlessly with standard Python type-checking workflows. It is a pure type-stub package with no runtime overhead.

Install

mypy-boto3-cost-optimization-hub on PyPI

pip

pip install mypy-boto3-cost-optimization-hub

uv

uv add mypy-boto3-cost-optimization-hub

poetry

poetry add mypy-boto3-cost-optimization-hub

Installing mypy-boto3-cost-optimization-hub

Before you install

Low friction installation with a single lightweight runtime dependency (typing-extensions). Actively maintained with recent releases and no known vulnerabilities.

License in practice

MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects.

Quickstart

pip install mypy-boto3-cost-optimization-hub

from boto3.session import Session
from mypy_boto3_cost_optimization_hub import CostOptimizationHubClient

client: CostOptimizationHubClient = Session().client("cost-optimization-hub")

Requires Python 3.9 or later; type checking tools (mypy, pyright, or IDE language server) must be configured separately to use the annotations.

Verify before relying

  • Whether PyCharm performance issues mentioned in the documentation (PY-40997) remain unresolved or have been addressed in recent PyCharm versions.
  • Exact scope of type coverage for all CostOptimizationHub API operations, paginators, and service resources.

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 — 67 days since the last release
Last repo commit
First released
Downloads 243,059/month — #8,828 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_cost_optimization_hub-1.43.25-py3-none-any.whl

Keywords: boto3, cost-optimization-hub, 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 stubscost optimization hub typingmypy boto3 annotationsaws sdk type hintsboto3 ide autocompletepyright aws stubstype checking boto3
type-stubsaws-sdkboto3

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

mypy-boto3-apigatewaymanagementapi

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-codeguruprofiler

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-ec2

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

mypy-boto3-marketplacecommerceanalytics

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-pinpoint

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-migrationhub-config

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-connect

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-evidently

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-iotthingsgraph

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-config

Provides type annotations and IDE…

permissive · top 15,000 on PyPI