mypy-boto3-machinelearning
Type annotations for boto3 MachineLearning 1.43.0 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 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-machinelearninguv
uv add mypy-boto3-machinelearningpoetry
poetry add mypy-boto3-machinelearningInstalling 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
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-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-sagemakerProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-evidentlyProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-iottwinmakerProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-transcribeProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-sqsProvides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-supportProvides type annotations and IDE…
permissive · top 15,000 on PyPI