skillfed

mypy-boto3-sustainability

Type annotations for boto3 Sustainability 1.43.50 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-sustainability v1.43.50 114.3K downloads/30d#12,305 on PyPI670
Permissive license MIT Active released

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

uv

uv add mypy-boto3-sustainability

poetry

poetry add mypy-boto3-sustainability

Installing 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

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 stubs sustainabilityaws sustainability type annotationsmypy boto3 sustainabilityboto3 ide autocomplete awstype hints boto3 servicespyright boto3 stubsaws sdk type checking
type-stubsaws-sdkboto3

More Software Development packages