mypy-boto3-sustainability
Type annotations for boto3 Sustainability 1.43.50 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a type-stub library that adds static type annotations for boto3's Sustainability service. It is generated from boto3 1.43.50 using mypy-boto3-builder 8.12.0 and works as a development-time dependency to enable IDE autocomplete, type checking with mypy or pyright, and inline documentation in editors like VSCode, PyCharm, Emacs, and Sublime Text.
The package does not modify boto3's runtime behavior—it only provides type information that IDEs and type checkers use to validate code and offer completions. It depends on typing-extensions and is typically installed alongside boto3 when working with the Sustainability service. The documentation notes that some IDEs may experience performance issues with Literal overloads and recommends alternatives in those cases.
Use it for:
- Enable IDE autocomplete and inline documentation when writing boto3 Sustainability service code in VSCode or PyCharm.
- Catch type errors in boto3 Sustainability calls before runtime using mypy or pyright in CI/CD pipelines.
- Provide explicit type hints for SustainabilityClient, paginators, and service resources in your codebase.
- Support linting and type checking in Emacs or Sublime Text via LSP with pyright integration.
- Avoid runtime type errors by validating boto3 Sustainability API calls during development.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocomplete support for the AWS Sustainability service via boto3, compatible with mypy, pyright, VSCode, PyCharm, and other tools.
Yes, if you use boto3's Sustainability service and want IDE type support and static type checking. Install friction is minimal, maintenance is active, and the MIT license carries no restrictions. The only caveat is that some IDEs may experience performance issues; check the documentation for alternatives if that occurs.
Install
mypy-boto3-sustainability on PyPI
pip
pip install mypy-boto3-sustainabilityuv
uv add mypy-boto3-sustainabilitypoetry
poetry add mypy-boto3-sustainabilityInstalling mypy-boto3-sustainability
Before you install
Low friction install with a single lightweight runtime dependency (typing-extensions). Active maintenance with a release 29 days ago and 670 repository stars.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open and closed projects with minimal obligations.
Quickstart
pip install mypy-boto3-sustainability
from boto3.session import Session
from mypy_boto3_sustainability import SustainabilityClient
client: SustainabilityClient = Session().client("sustainability")
Requires Python 3.9 or later; boto3 must be installed separately.
Verify before relying
- Whether PyCharm performance issues mentioned in the docs (PY-40997) have been resolved in recent versions.
- Real-world impact of lite variant recommendations for PyCharm users on code completion quality.
- Whether the package works with boto3 versions other than 1.43.50.
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 — 29 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 114,331/month — #12,305 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_sustainability-1.43.50-py3-none-any.whl
Keywords: boto3, sustainability, 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-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-omicsProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-evidentlyProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-emrProvides 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-shieldProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-marketplace-catalogProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI