skillfed

mypy-boto3-lambda

Type annotations for boto3 Lambda 1.43.60 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-lambda v1.43.60 11.0M downloads/30d#1,420 on PyPI670
Permissive license MIT Active released

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-lambda

uv

uv add mypy-boto3-lambda

poetry

poetry add mypy-boto3-lambda

Installing 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

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 lambda type stubstype annotations for aws lambdaboto3 type hintslambda client type checkingmypy boto3 stubsaws lambda ide autocompleteboto3 static type support
type-stubsaws-sdkstatic-typing

More Software Development packages