types-boto3-sts
Type annotations for boto3 STS 1.43.0 service generated with mypy-boto3-builder 8.12.0
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; boto3 must be installed separately in your project.
- 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 · maintenance · safety
MIT (permissive) — MIT license permits use in any project, including commercial and proprietary code, with minimal restrictions.
last release 2026-04-29 (107 days) · last repo commit 2026-06-22 · 670 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 502,594 downloads/mo, #6,307 on PyPI
Alternatives
Verify before relying
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- 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).
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 on it.
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
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.
Requires Python 3.9 or later; boto3 must be installed separately in your project.
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
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 packagetyping-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 |
| Classifiers | 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 |
Evidence: types_boto3_sts-1.43.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “boto3 sts type annotations”
- types-boto3-stsProvides type annotations and IDE autocomplete support for boto3 STS…
- mypy-boto3-stsProvides type annotations and IDE autocompletion support for boto3's…
- types-aiobotocore-stsProvides type annotations and IDE autocomplete support for the STS…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also mypy-boto3-sts · types-aiobotocore-sts · types-boto3 · types-boto3-ec2 · types-boto3-sesv2 · types-boto3-ses · types-boto3-firehose · types-boto3-s3 · types-boto3-cognito-idp · types-boto3-sqs