types-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
types-boto3-sts is a type stub package that adds static type information to boto3's STS (Security Token Service) client. It was generated using mypy-boto3-builder 8.12.0 and is compatible with boto3 1.43.0. When installed, it enables type checkers like mypy and pyright, as well as IDEs like VSCode, PyCharm, and others, to understand and validate STS API calls at development time—providing autocomplete suggestions, catching type errors before runtime, and improving code clarity through explicit type annotations.
The package is pure Python with minimal dependencies (only typing-extensions), making it lightweight and easy to install. It supports Python 3.9 through 3.14 and is actively maintained. You can use it standalone or as part of the broader types-boto3 ecosystem. The stub provides three main annotation layers: STSClient for type-annotating client objects, Literals for STS-specific enum values, and TypeDefs for structured request and response shapes.
Use it for:
- Enable IDE autocomplete and type checking for boto3 STS calls in VSCode, PyCharm, or other type-aware editors.
- Catch STS API usage errors (wrong parameter types, missing required fields) during static analysis with mypy or pyright.
- Document STS client method signatures and expected types in your codebase without writing manual annotations.
- Improve code maintainability by letting type checkers verify that STS operations are called correctly across a large project.
- Use STS Literals and TypeDefs to enforce type safety when building IAM assume-role workflows or token operations.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocomplete support for boto3 STS (AWS Security Token Service) client operations, compatible with mypy, pyright, VSCode, PyCharm, and other type-aware tools.
Yes. This is a low-friction, actively maintained type stub with no security vulnerabilities and permissive licensing. Install it if you use boto3 STS in a project where you want static type checking or IDE autocomplete support. It adds no runtime overhead and requires only typing-extensions as a dependency.
Install
types-boto3-sts on PyPI
pip
pip install types-boto3-stsuv
uv add types-boto3-stspoetry
poetry add types-boto3-stsInstalling types-boto3-sts
Before you install
Low friction: a pure-Python stub package with only typing-extensions as a runtime dependency. Actively maintained with recent releases; last commit 2026-06-22.
License in practice
MIT license permits use in any project, including commercial and proprietary code, with minimal restrictions.
Quickstart
pip install types-boto3-sts
from boto3.session import Session
from types_boto3_sts import STSClient
client: STSClient = Session().client("sts")
# Type checking and IDE autocomplete now work for STS operations
Requires Python 3.9 or later; boto3 must be installed separately in your project.
Verify before relying
- Whether the package works correctly with all listed IDE integrations (VSCode, PyCharm, Emacs, Sublime Text) in practice.
- Performance impact in PyCharm when using full types-boto3 versus the lite variant (documentation mentions potential slowness).
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 | 502,594/month — #6,307 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_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
mypy-boto3-stsProvides type annotations and IDE…
permissive · top 5,000 on PyPI
types-aiobotocore-stsProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
types-boto3Provides type annotations and IDE…
permissive · top 5,000 on PyPI
types-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
types-boto3-sesv2Provides type annotations and IDE…
permissive · top 5,000 on PyPI
types-boto3-sesProvides type annotations and IDE…
permissive · top 5,000 on PyPI
types-boto3-firehoseProvides type annotations and IDE…
permissive · top 15,000 on PyPI
types-boto3-s3Provides type annotations and IDE…
permissive · top 5,000 on PyPI
types-boto3-cognito-idpProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
types-boto3-sqsProvides type annotations and IDE…
permissive · top 5,000 on PyPI