mypy-boto3-compute-optimizer
Type annotations for boto3 ComputeOptimizer 1.43.33 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a stub-only type annotation library for boto3's ComputeOptimizer service, generated by mypy-boto3-builder 8.12.0. It contains no runtime code—only type definitions that enable static type checkers (mypy, pyright) and IDEs (VSCode, PyCharm, Emacs, Sublime Text) to understand boto3 ComputeOptimizer API calls and provide code completion and type checking.
When installed alongside boto3, it allows developers to write AWS Compute Optimizer code with full IDE support and type safety. The package supports Python 3.9 through 3.14 and has a single lightweight runtime dependency on typing-extensions. It is designed to be optional for production (can be guarded behind TYPE_CHECKING) and carries no security vulnerabilities.
Use it for:
- Enable IDE autocomplete and type hints when calling boto3 ComputeOptimizer APIs in VSCode or PyCharm.
- Run mypy or pyright type checking on code that uses boto3 ComputeOptimizer without runtime errors.
- Catch type mismatches in ComputeOptimizer API calls during development rather than at runtime.
- Generate accurate API documentation and type stubs for internal AWS Compute Optimizer integration code.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations for the boto3 ComputeOptimizer service, enabling type checking and IDE code completion when working with AWS Compute Optimizer through boto3.
Yes, if you use boto3 ComputeOptimizer and want type safety and IDE support. Install friction is minimal, maintenance is active, and the MIT license is permissive. The package is a pure stub with no security vulnerabilities. Note: PyCharm users may experience performance issues with Literal overloads; the documentation recommends boto3-stubs-lite as an alternative in that case.
Install
mypy-boto3-compute-optimizer on PyPI
pip
pip install mypy-boto3-compute-optimizeruv
uv add mypy-boto3-compute-optimizerpoetry
poetry add mypy-boto3-compute-optimizerInstalling mypy-boto3-compute-optimizer
Before you install
Low friction installation with a single runtime dependency (typing-extensions). Active maintenance with a recent release 57 days ago and 670 repository stars.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install mypy-boto3-compute-optimizer
from boto3.session import Session
from mypy_boto3_compute_optimizer import ComputeOptimizerClient
client: ComputeOptimizerClient = Session().client("compute-optimizer")
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
Verify before relying
- Whether the package works correctly with all advertised IDEs (VSCode, PyCharm, Emacs, Sublime Text) in practice.
- Performance impact when used with PyCharm, given the documentation's warning about Literal overload performance issues.
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 — 57 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 256,642/month — #8,460 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_compute_optimizer-1.43.33-py3-none-any.whl
Keywords: boto3, compute-optimizer, 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-batchProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-codeguruprofilerProvides 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-application-autoscalingProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-drsProvides type annotations for the boto3 AWS Drs…
permissive · top 15,000 on PyPI
mypy-boto3-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-codepipelineProvides type annotations and IDE…
permissive · top 15,000 on PyPI