skillfed

types-boto3-sts

Type annotations for boto3 STS 1.43.0 service generated with mypy-boto3-builder 8.12.0

types-boto3-sts v1.43.0 502.6K downloads/30d#6,307 on PyPI670
Permissive license MIT Active released

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-sts

uv

uv add types-boto3-sts

poetry

poetry add types-boto3-sts

Installing 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

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

Tags

boto3 sts type annotationsaws sts type stubsboto3 type hintssts client type checkingmypy boto3 stspyright boto3 stubsaws security token service types
type-stubsaws-sdkboto3

More Software Development packages