skillfed

mypy-boto3-ce

Type annotations for boto3 CostExplorer 1.43.22 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-ce v1.43.22 435.1K downloads/30d#6,683 on PyPI670
Permissive license MIT Active released

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-ce

uv

uv add mypy-boto3-ce

poetry

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 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

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 stubsaws costexplorer type hintsmypy boto3 annotationside autocomplete boto3static type checking awspyright boto3 stubsboto3 ce type definitions
type-stubsaws-sdkide-support

More Software Development packages