--- id: mypy-boto3-cost-optimization-hub version: "1.43.25" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-cost-optimization-hub — Type annotations for boto3 CostOptimizationHub 1.43.25 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 243.1K/mo ## 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 above — 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 pip install mypy-boto3-cost-optimization-hub uv add mypy-boto3-cost-optimization-hub 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_current - Install friction: low - Maintenance: active - Downloads: 243.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs, cost optimization hub typing, mypy boto3 annotations, aws sdk type hints, boto3 ide autocomplete, pyright aws stubs, type checking boto3, type-stubs, aws-sdk, boto3 [View on SkillFed](https://skillfed.io/packages/mypy-boto3-cost-optimization-hub) · [View on PyPI](https://pypi.org/project/mypy-boto3-cost-optimization-hub/)