skillfed

mypy-boto3-machinelearning

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

mypy-boto3-machinelearning v1.43.0 250.9K downloads/30d#8,613 on PyPI670
Permissive license MIT Active released

What it is and what it does

This package is a type-stub library that adds static type information to boto3's MachineLearning service. It is generated automatically from boto3 1.43.0 using mypy-boto3-builder 8.12.0 and works as a development-time dependency—you install it in your environment so that type checkers and IDEs can understand boto3 code, but it is not needed at runtime.

When installed, it enables full IDE autocomplete, inline documentation, and static type checking for MachineLearning API calls in VSCode (with Pylance), PyCharm, Emacs, Sublime Text, and command-line tools like mypy and pyright. The package includes type annotations for clients, paginators, waiters, and service-specific type definitions, allowing you to catch type errors before runtime and write more maintainable AWS code.

Use it for:

  • Enable IDE autocomplete and type hints when writing boto3 MachineLearning code in VSCode with Pylance or PyCharm.
  • Run mypy or pyright on your codebase to catch type errors in AWS API calls before deployment.
  • Use TYPE_CHECKING guards to include type annotations in development without adding a runtime dependency.
  • Reduce time spent reading AWS API documentation by relying on inline IDE hints and type signatures.
  • Integrate type checking into CI/CD pipelines to enforce type safety for MachineLearning service interactions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type annotations and IDE autocompletion for boto3's MachineLearning service, enabling static type checking with mypy, pyright, and editor support in VSCode, PyCharm, Emacs, and Sublime Text.

Yes. This is a lightweight, actively maintained type-stub package with no security vulnerabilities, permissive MIT licensing, and minimal install friction. Install it if you use boto3's MachineLearning service and want IDE autocomplete and static type checking. It is a development dependency only and does not affect production code. PyCharm users should monitor performance; if slowness occurs, boto3-stubs-lite is an alternative.

Install

mypy-boto3-machinelearning on PyPI

pip

pip install mypy-boto3-machinelearning

uv

uv add mypy-boto3-machinelearning

poetry

poetry add mypy-boto3-machinelearning

Installing mypy-boto3-machinelearning

Before you install

Low install friction with a single lightweight runtime dependency (typing-extensions). Active maintenance with recent releases; last commit 2026-06-22 and release 2026-04-29 indicate ongoing support.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal obligations—suitable for both open-source and commercial projects.

Quickstart

# Install
python -m pip install mypy-boto3-machinelearning

# Use with type checking
from boto3.session import Session
from mypy_boto3_machinelearning import MachineLearningClient

client: MachineLearningClient = Session().client("machinelearning")
# IDE and mypy now provide type checking and autocomplete

Requires Python 3.9 or later; boto3 1.43.0 must be installed separately for the types to be useful.

Verify before relying

  • Performance impact in PyCharm: the description mentions slow performance on Literal overloads (issue PY-40997) but does not quantify the severity or frequency.
  • Whether boto3-stubs-lite is a viable alternative for your use case if PyCharm performance becomes problematic.

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 250,917/month — #8,613 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_machinelearning-1.43.0-py3-none-any.whl

Keywords: boto3, machinelearning, 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 annotationsmachinelearning type stubsmypy boto3 supportaws sdk type hintsboto3 ide autocompletepyright boto3 stubsstatic type checking aws
type-stubsaws-sdkide-support

More Software Development packages