mypy-boto3-cost-optimization-hub
Type annotations for boto3 CostOptimizationHub 1.43.25 service generated with mypy-boto3-builder 8.12.0
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-hubuv
uv add mypy-boto3-cost-optimization-hubpoetry
poetry add mypy-boto3-cost-optimization-hubInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI 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
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
mypy-boto3-apigatewaymanagementapiProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-codeguruprofilerProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-marketplacecommerceanalyticsProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-pinpointProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-migrationhub-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-evidentlyProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-iotthingsgraphProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI