mypy-boto3
Legacy type annotations for boto3, use types-boto3 instead.
Decision gist · record as of 2026-08-14
Yes, if you use boto3 and want static type checking and IDE support. Install friction is minimal and maintenance is active. However, the package summary recommends an alternative; verify whether that better suits your needs before committing to this one.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 install friction with just two runtime dependencies (boto3 and typing-extensions).
- Actively maintained with a recent release; repository shows 670 stars and a commit history through 2026-06-22.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects without restriction.
last release 2026-04-29 (107 days) · last repo commit 2026-06-22 · 670 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 842,595 downloads/mo, #4,925 on PyPI
Alternatives
Verify before relying
pip install mypy-boto3
import boto3
s3_client = boto3.client("s3") # Now type-checked and auto-completed- Whether this package is actively maintained or if types-boto3 is the recommended replacement going forward.
- Coverage and accuracy of type annotations across all boto3 services and their latest API changes.
- How service-specific type annotations are installed and managed alongside the base package.
What it is and what it does
mypy-boto3 is a type stub package that adds static type checking and IDE autocompletion support to boto3, the AWS SDK for Python. It works by providing type annotations that map boto3's dynamic client and resource creation to concrete, typed service classes. The package is generated automatically from boto3's API definitions and versioned to match boto3 releases, with version 1.43.0 corresponding to boto3 1.43.0.
The package depends on boto3 and typing-extensions, and supports Python 3.9 through 3.14. The summary notes it is a legacy package and recommends an alternative, suggesting this may be superseded; however, it remains actively maintained with 842595 monthly downloads and is in the top 5000 PyPI packages.
Use it for
- Enable mypy or pyright to catch type errors in AWS SDK calls before runtime.
- Get IDE autocomplete and inline documentation for boto3 service clients and resources.
- Write type-safe wrapper functions around boto3 that enforce correct service and method usage.
- Migrate existing boto3 code to static typing without rewriting the underlying AWS calls.
- Validate boto3 configuration and client initialization in test suites with type checking.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use boto3 and want static type checking and IDE support.
Install friction is minimal and maintenance is active. However, the package summary recommends an alternative; verify whether that better suits your needs before committing to this one.
Install
mypy-boto3 on PyPI
Before you install
Low install friction with just two runtime dependencies (boto3 and typing-extensions). Actively maintained with a recent release; repository shows 670 stars and a commit history through 2026-06-22.
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 without restriction.
Quickstart
pip install mypy-boto3
import boto3
s3_client = boto3.client("s3") # Now type-checked and auto-completed
Verify before relying
- Whether this package is actively maintained or if types-boto3 is the recommended replacement going forward.
- Coverage and accuracy of type annotations across all boto3 services and their latest API changes.
- How service-specific type annotations are installed and managed alongside the base package.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesboto3typing-extensions |
| Maintenance | Actively maintained 107 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 842,595 / month, #4,925 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-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 › “static typing for boto3”
- mypy-boto3Provides type stubs and annotations for boto3 to enable static type…
- mypy-boto3-swfProvides type annotations and IDE autocompletion support for boto3's…
- mypy-boto3-notificationsProvides type annotations and IDE autocompletion for boto3's…
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 types-boto3-s3 · botocore-stubs · types-boto3 · types-s3transfer · types-awscrt · mypy-boto3-s3files · boto3-stubs-full · types-boto3-ec2 · boto3-type-annotations-with-docs · boto3-type-annotations