mypy-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 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.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 environment.
- 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 · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects 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) · 10,754,807 downloads/mo, #1,438 on PyPI
Alternatives
Verify before relying
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- 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.
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 on it.
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
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.
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
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
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 packagetyping-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 |
| 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: mypy_boto3_sts-1.43.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.
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 types-boto3-sts · types-aiobotocore-sts · mypy-boto3-sso · boto3-stubs-lite · mypy-boto3-ebs · mypy-boto3-ec2 · mypy-boto3-iot · mypy-boto3-panorama · mypy-boto3-pinpoint · mypy-boto3-detective