--- id: mypy-boto3-ce version: "1.43.22" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-ce — Type annotations for boto3 CostExplorer 1.43.22 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 435.1K/mo ## What it is and what it does mypy-boto3-ce is a type-stub package that adds static type information for boto3's CostExplorer service. It works alongside boto3 to enable IDE autocompletion, type checking with mypy or pyright, and inline documentation in editors like VSCode, PyCharm, Emacs, and Sublime Text. The package is generated automatically from boto3's service definitions, ensuring type annotations stay in sync with the AWS API. The package is designed to be used as a development dependency—you install it in your environment to get IDE support and type checking, but it doesn't change your runtime code. It supports explicit type annotations for clients, paginators, and service resources, and can be used with TYPE_CHECKING guards to avoid adding it as a production dependency. Use it for: - Enable IDE autocomplete and inline documentation when writing boto3 CostExplorer code in VSCode or PyCharm. - Catch type errors in boto3 CostExplorer calls before runtime using mypy or pyright in CI/CD pipelines. - Provide explicit type hints for function parameters and return values when working with CostExplorer clients. - Improve code maintainability by documenting expected argument types and response structures for AWS API calls. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type annotations and IDE autocompletion support for boto3's CostExplorer service, enabling static type checking with mypy, pyright, and other tools. Yes. Install this if you use boto3's CostExplorer service and want IDE autocompletion and static type checking. It has low install friction, active maintenance, no vulnerabilities, and a permissive MIT license. The only caveat is PyCharm users may experience performance issues with the full package and should consider the lite variant instead. ## Install pip install mypy-boto3-ce uv add mypy-boto3-ce poetry add mypy-boto3-ce ## Installing mypy-boto3-ce Before you install: Low install friction with a single lightweight runtime dependency (typing-extensions). The package is actively maintained with recent releases and no known vulnerabilities. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal legal constraints—suitable for both open-source and proprietary projects. Quickstart: pip install mypy-boto3-ce from boto3.session import Session from mypy_boto3_ce import CostExplorerClient client: CostExplorerClient = Session().client("ce") Requires Python 3.9 or later; boto3 must be installed separately in your environment. Verify before relying: - Whether PyCharm performance issues mentioned in the docs (issue PY-40997) have been resolved in recent versions. - Whether the lite variant (boto3-stubs-lite) is recommended over the full package for typical use cases. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 435.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs, aws costexplorer type hints, mypy boto3 annotations, ide autocomplete boto3, static type checking aws, pyright boto3 stubs, boto3 ce type definitions, type-stubs, aws-sdk, ide-support [View on SkillFed](https://skillfed.io/packages/mypy-boto3-ce) · [View on PyPI](https://pypi.org/project/mypy-boto3-ce/)