mypy-boto3-sts
Type annotations for boto3 STS 1.43.0 service generated with mypy-boto3-builder 8.12.0
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 on this page — 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
mypy-boto3-sts on PyPI
pip
pip install mypy-boto3-stsuv
uv add mypy-boto3-stspoetry
poetry add mypy-boto3-stsInstalling 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 the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 107 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 10,754,807/month — #1,438 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_sts-1.43.0-py3-none-any.whl
Keywords: boto3, sts, 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
types-boto3-stsProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
types-aiobotocore-stsProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-ssoProvides type annotations for boto3's SSO…
permissive · top 15,000 on PyPI
boto3-stubs-liteProvides type annotations for boto3 1.43.72,…
permissive · top 15,000 on PyPI
mypy-boto3-ebsProvides type annotations and IDE autocomplete…
permissive · top 15,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-panoramaProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-pinpointProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-detectiveProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI