--- id: mypy-boto3-sustainability version: "1.43.50" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-sustainability — Type annotations for boto3 Sustainability 1.43.50 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 114.3K/mo ## 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 above — 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 pip install mypy-boto3-sustainability uv add mypy-boto3-sustainability 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_current - Install friction: low - Maintenance: active - Downloads: 114.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs sustainability, aws sustainability type annotations, mypy boto3 sustainability, boto3 ide autocomplete aws, type hints boto3 services, pyright boto3 stubs, aws sdk type checking, type-stubs, aws-sdk, boto3 [View on SkillFed](https://skillfed.io/packages/mypy-boto3-sustainability) · [View on PyPI](https://pypi.org/project/mypy-boto3-sustainability/)