mypy-boto3-ce
Type annotations for boto3 CostExplorer 1.43.22 service generated with mypy-boto3-builder 8.12.0
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 on this page — 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
mypy-boto3-ce on PyPI
pip
pip install mypy-boto3-ceuv
uv add mypy-boto3-cepoetry
poetry add mypy-boto3-ceInstalling 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 the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 72 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 435,129/month — #6,683 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_ce-1.43.22-py3-none-any.whl
Keywords: boto3, ce, 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-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-evidentlyProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-neptuneProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-dataexchangeProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-sagemakerProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-codepipelineProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-appmeshProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-kmsProvides type annotations and IDE…
permissive · top 5,000 on PyPI