mypy-boto3-m2
Type annotations for boto3 MainframeModernization 1.43.0 service generated with mypy-boto3-builder 8.12.0
Decision gist · record as of 2026-08-14
Yes, if you use boto3's MainframeModernization service and want type safety. Installation is frictionless, maintenance is active, the license is permissive, and there are no known vulnerabilities. The only caveat is PyCharm users may experience performance issues with the full stubs (the docs recommend boto3-stubs-lite as a workaround), but VSCode, mypy, and pyright users should see immediate value.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 as a runtime dependency.
- Low friction installation as a pure-Python wheel with minimal dependencies.
- Actively maintained with recent commits; part of the established mypy-boto3-builder ecosystem.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
last release 2026-04-29 (107 days) · last repo commit 2026-06-22 · 670 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 243,285 downloads/mo, #8,811 on PyPI
Alternatives
Verify before relying
# Install
python -m pip install 'boto3-stubs[m2]'
# Use in code
from boto3.session import Session
from mypy_boto3_m2 import MainframeModernizationClient
client: MainframeModernizationClient = Session().client("m2")
# Now mypy and IDE provide type checking and autocomplete- Whether PyCharm performance issues mentioned in docs (issue PY-40997) have been resolved since the stubs were generated.
- Exact coverage of MainframeModernization API operations and whether all service methods are fully annotated.
What it is and what it does
This package is a type-stub library that adds static type information to boto3's MainframeModernization (m2) service. It generates precise type hints for the service client, paginators, and type definitions, enabling IDEs and type checkers to catch errors at development time rather than runtime. The stubs are generated from boto3 1.43.0 using mypy-boto3-builder 8.12.0 and work with VSCode, PyCharm, Emacs, Sublime Text, mypy, pyright, and other tools that support Python type hints.
You install it alongside boto3 and then use boto3 normally—the type annotations are picked up automatically by your IDE or type checker, providing autocomplete suggestions and flagging type mismatches. It has only one runtime dependency (typing-extensions) and is designed to be lightweight. The package supports Python 3.9 through 3.14 and is marked as Production/Stable.
Use it for
- Add IDE autocomplete and type checking to boto3 MainframeModernization code without writing manual type annotations.
- Catch type errors in AWS SDK calls during development using mypy or pyright before deployment.
- Enable PyCharm or VSCode to suggest correct method signatures and parameter types for m2 service operations.
- Document boto3 MainframeModernization API contracts in your codebase through inferred types.
- Use boto3 code with TYPE_CHECKING guards to keep type stubs out of production dependencies.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use boto3's MainframeModernization service and want type safety.
Installation is frictionless, maintenance is active, the license is permissive, and there are no known vulnerabilities. The only caveat is PyCharm users may experience performance issues with the full stubs (the docs recommend boto3-stubs-lite as a workaround), but VSCode, mypy, and pyright users should see immediate value.
Install
mypy-boto3-m2 on PyPI
Before you install
Low friction installation as a pure-Python wheel with minimal dependencies. Actively maintained with recent commits; part of the established mypy-boto3-builder ecosystem.
Requires Python 3.9 or later; boto3 must be installed separately as a runtime dependency.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
Quickstart
# Install
python -m pip install 'boto3-stubs[m2]'
# Use in code
from boto3.session import Session
from mypy_boto3_m2 import MainframeModernizationClient
client: MainframeModernizationClient = Session().client("m2")
# Now mypy and IDE provide type checking and autocomplete
Verify before relying
- Whether PyCharm performance issues mentioned in docs (issue PY-40997) have been resolved since the stubs were generated.
- Exact coverage of MainframeModernization API operations and whether all service methods are fully annotated.
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 | 243,285 / month, #8,811 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_m2-1.43.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “boto3 type stubs mainframe modernization”
- mypy-boto3-m2Provides type annotations and IDE autocomplete support for boto3's…
- ebcdicRegisters additional EBCDIC character encoding codecs for Python,…
- types-boto3-stepfunctionsProvides type stubs and IDE-aware type annotations for boto3's Step…
Give your agent the search over MCP, or paste the wish link into any chat.
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 mypy-boto3-ec2 · mypy-boto3-appmesh · mypy-boto3-dataexchange · mypy-boto3-mpa · mypy-boto3-iot · mypy-boto3-codeartifact · mypy-boto3-fsx · mypy-boto3-evidently · mypy-boto3-sagemaker · mypy-boto3-mgh