--- id: mypy-boto3-sts version: "1.43.0" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-sts — Type annotations for boto3 STS 1.43.0 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 10.8M/mo ## What it is and what it does mypy-boto3-sts is a type-stub package that adds static type annotations to boto3's STS client. It's generated from boto3 1.43.0 using mypy-boto3-builder and works with mypy, pyright, VSCode, PyCharm, Emacs, Sublime Text, and other IDEs that support Python type checking. The package contains no runtime logic—it only provides type hints so that your IDE and type checker can understand boto3 STS method signatures, return types, and available parameters. When installed, it enables IDE autocompletion for STS operations and catches type errors before runtime. You can use it standalone or as part of boto3-stubs, a meta-package that bundles stubs for multiple AWS services. The package is lightweight, depends only on typing-extensions, and is designed to be a development-time or type-checking-time dependency that doesn't affect production code size. Use it for: - Enable mypy or pyright type checking on boto3 STS code without writing manual type annotations. - Get IDE autocomplete and inline documentation for STS client methods in VSCode or PyCharm. - Validate STS API calls (AssumeRole, GetCallerIdentity, etc.) against the correct signatures at development time. - Use STSClient and type definitions from mypy_boto3_sts.type_defs for explicit type hints in your own functions. - Catch typos and incorrect parameter names in STS API calls before deployment. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type annotations and IDE autocompletion support for boto3's STS (Security Token Service) client, enabling static type checking with mypy, pyright, and other tools. Yes. This is a low-friction, actively maintained type-stub package with no security vulnerabilities and a permissive MIT license. Install it if you use boto3 STS and want static type checking or IDE autocompletion. It adds no runtime overhead and integrates seamlessly with standard Python tooling. ## Install pip install mypy-boto3-sts uv add mypy-boto3-sts poetry add mypy-boto3-sts ## Installing mypy-boto3-sts Before you install: Low friction—a pure Python wheel with only typing-extensions as a runtime dependency. Actively maintained with recent releases; the repository shows consistent activity and is not archived. 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-sts from boto3.session import Session from mypy_boto3_sts import STSClient client: STSClient = Session().client("sts") # Type checking and IDE completion now available Requires Python 3.9 or later; boto3 must be installed separately in your environment. Verify before relying: - Whether performance issues in PyCharm mentioned in the description (PY-40997) remain unresolved or have been addressed. - Exact compatibility with boto3 versions other than 1.43.0 that this stub version supports. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 10.8M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs, aws sts type annotations, boto3 mypy support, type hints for boto3, aws sdk type checking, boto3 ide autocomplete, pyright boto3 stubs, type-stubs, aws-sdk, static-analysis [View on SkillFed](https://skillfed.io/packages/mypy-boto3-sts) · [View on PyPI](https://pypi.org/project/mypy-boto3-sts/)