mypy-boto3-lambda
Type annotations for boto3 Lambda 1.43.60 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package is a stub-only type annotation library for AWS Lambda operations via boto3. It contains no runtime code—only type definitions that enable static type checkers and IDEs to understand boto3's Lambda API surface, providing code completion and catching type errors before runtime.
The package is generated automatically from boto3 1.43.60 using mypy-boto3-builder 8.12.0 and supports multiple type-checking workflows: inline with mypy or pyright, through IDE language servers (Pylance in VSCode, Pyright in Sublime/Emacs), or as a development-only dependency guarded by TYPE_CHECKING. It depends only on typing-extensions and is compatible with Python 3.9 through 3.14.
Use it for:
- Enable IDE autocomplete and type checking for boto3 Lambda client calls in VSCode or PyCharm without writing manual type hints.
- Catch Lambda API usage errors (wrong parameter names, incorrect types) during development with mypy or pyright before deployment.
- Provide type hints for paginators, waiters, and service resources when working with Lambda through boto3.
- Use as a development-only dependency (via TYPE_CHECKING guard) to avoid runtime overhead in production code.
- Support multiple editor workflows (Emacs, Sublime Text, other LSP-compatible IDEs) with a single installed package.
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 Lambda service, enabling static type checking with mypy, pyright, and other tools.
Yes. This is a low-friction, actively maintained stub package with no security vulnerabilities, permissive MIT licensing, and broad IDE support. Install it if you use boto3 for Lambda and want static type checking or IDE autocompletion; it adds minimal overhead and can be safely guarded as a development-only import.
Install
mypy-boto3-lambda on PyPI
pip
pip install mypy-boto3-lambdauv
uv add mypy-boto3-lambdapoetry
poetry add mypy-boto3-lambdaInstalling mypy-boto3-lambda
Before you install
Low friction install with a single lightweight runtime dependency (typing-extensions). Active maintenance with recent release 15 days ago and ongoing repository activity.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.
Quickstart
pip install mypy-boto3-lambda
from boto3.session import Session
from mypy_boto3_lambda import LambdaClient
client: LambdaClient = Session().client("lambda")
Requires Python 3.9 or later; type checking tools (mypy, pyright, or IDE language server) must be separately installed and configured.
Verify before relying
- Whether the package works correctly with all listed IDE integrations (VSCode, PyCharm, Emacs, Sublime Text) in practice.
- Performance impact on PyCharm reported in documentation (issue PY-40997) and whether boto3-stubs-lite is necessary for typical projects.
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 — 15 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 11,024,586/month — #1,420 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_lambda-1.43.60-py3-none-any.whl
Keywords: boto3, lambda, 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
types-boto3-lambdaProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-cloudformationProvides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-neptuneProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-s3Provides type annotations and IDE…
permissive · top 1,000 on PyPI
mypy-boto3-dynamodbProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
boto3-stubs-liteProvides type annotations for boto3 1.43.72,…
permissive · top 15,000 on PyPI