mypy-boto3-sagemaker
Type annotations for boto3 SageMaker 1.43.72 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a type-stub library that adds type annotations to boto3's SageMaker service. It's generated from boto3 1.43.72 and works with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright, and other type-aware tools. When installed, it enables IDE code completion and static type checking for SageMaker client calls without requiring explicit type annotations in your code.
The package provides typed interfaces for SageMaker clients, paginators, waiters, and type definitions. It can be installed standalone or as part of boto3-stubs with the sagemaker extra. The documentation notes that PyCharm may experience performance issues with the full stubs due to Literal overload handling, and recommends boto3-stubs-lite as an alternative if that becomes problematic.
Use it for:
- Enable IDE autocompletion and type hints when writing boto3 SageMaker code in VSCode or other supported editors.
- Run mypy or pyright type checking on SageMaker client code to catch type errors before runtime.
- Use explicit type annotations for SageMakerClient, paginators, and waiters in production code for better code clarity.
- Integrate with Emacs or Sublime Text via LSP for real-time type checking and code completion.
- Reduce bugs in SageMaker API calls by catching incorrect parameters or method names at development time.
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 SageMaker service, enabling static type checking with mypy, pyright, and other tools.
Yes, if you use boto3 with SageMaker and want IDE support or static type checking. Install friction is minimal and maintenance is active. Note that PyCharm users may experience performance issues with the full stubs and should consider boto3-stubs-lite instead. No security vulnerabilities reported.
Install
mypy-boto3-sagemaker on PyPI
pip
pip install mypy-boto3-sagemakeruv
uv add mypy-boto3-sagemakerpoetry
poetry add mypy-boto3-sagemakerInstalling mypy-boto3-sagemaker
Before you install
Low friction installation with a single runtime dependency (typing-extensions). Actively maintained with recent releases; repository shows active development and community engagement.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install mypy-boto3-sagemaker
from boto3.session import Session
from mypy_boto3_sagemaker import SageMakerClient
client: SageMakerClient = Session().client("sagemaker")
Verify before relying
- Whether performance impact on PyCharm is acceptable for your codebase size (documentation notes potential slowness with Literal overloads).
- Whether boto3-stubs-lite would be a better fit if you need lighter memory footprint or experience IDE performance issues.
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 — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 914,878/month — #4,735 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_sagemaker-1.43.72-py3-none-any.whl
Keywords: boto3, sagemaker, 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-launch-wizardProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-sagemaker-a2i-runtimeProvides type annotations for boto3's…
permissive · top 15,000 on PyPI
mypy-boto3-sagemaker-edgeProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-sagemaker-featurestore-runtimeProvides type annotations for boto3's SageMaker…
permissive · top 15,000 on PyPI
mypy-boto3-sagemaker-geospatialProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-sagemaker-metricsProvides 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-sagemaker-runtimeProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-wisdomProvides type annotations and IDE…
permissive · top 15,000 on PyPI
types-aiobotocore-sagemakerProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI