skillfed

mypy-boto3-sagemaker

Type annotations for boto3 SageMaker 1.43.72 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-sagemaker v1.43.72 914.9K downloads/30d#4,735 on PyPI670
Permissive license MIT Active released

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

uv

uv add mypy-boto3-sagemaker

poetry

poetry add mypy-boto3-sagemaker

Installing 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

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 type stubs sagemakertype annotations aws sagemakermypy boto3 sagemakersagemaker type hintsboto3 ide autocompletepyright sagemaker stubsstatic type checking aws
type-stubsaws-sdkstatic-typing

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

mypy-boto3-launch-wizard

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-sagemaker-a2i-runtime

Provides type annotations for boto3's…

permissive · top 15,000 on PyPI

mypy-boto3-sagemaker-edge

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-sagemaker-featurestore-runtime

Provides type annotations for boto3's SageMaker…

permissive · top 15,000 on PyPI

mypy-boto3-sagemaker-geospatial

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-sagemaker-metrics

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-ec2

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

mypy-boto3-sagemaker-runtime

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-wisdom

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

types-aiobotocore-sagemaker

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI