types-boto3
Type annotations for boto3 1.43.71 generated with mypy-boto3-builder 8.12.0
What it is and what it does
types-boto3 is a type stub package that adds static type checking and IDE autocompletion support for boto3 1.43.71. It works by providing type annotations for boto3's client, resource, waiter, and paginator objects, allowing type checkers like mypy and pyright to validate your AWS SDK code before runtime. The package is generated using mypy-boto3-builder 8.12.0 and integrates with popular development environments including VSCode, PyCharm, Emacs, and Sublime Text.
You install it alongside boto3 and then write your boto3 code normally—no explicit type annotations required. Your IDE and type checker will immediately provide autocomplete suggestions, catch type mismatches, and help you discover available methods and parameters. The package offers flexible installation options: install only stubs for services you use, install a lite version for RAM-constrained environments, or install the full set of all service annotations.
Use it for:
- Enable IDE autocomplete and type hints when writing boto3 code in VSCode, PyCharm, or Emacs without modifying your application code.
- Catch boto3 API misuse at type-check time using mypy or pyright in CI/CD pipelines before deployment.
- Reduce development friction by discovering available boto3 methods and parameters through IDE suggestions instead of consulting documentation.
- Maintain type safety in large AWS infrastructure-as-code projects where boto3 is used extensively.
- Use TYPE_CHECKING guards to keep type stubs out of production dependencies while still getting full IDE support during development.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocompletion for boto3 1.43.71, enabling static type checking with mypy, pyright, and other tools across VSCode, PyCharm, Emacs, and Sublime Text.
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. It directly solves the problem of boto3's lack of built-in type hints. Install it if you use boto3 and want IDE autocompletion and static type checking.
Install
types-boto3 on PyPI
pip
pip install types-boto3uv
uv add types-boto3poetry
poetry add types-boto3Installing types-boto3
Before you install
Low friction installation with only three runtime dependencies (botocore-stubs, types-s3transfer, typing-extensions). Actively maintained with a release one day old and consistent commit activity.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
# Install type annotations for essential AWS services
python -m pip install 'types-boto3[essential]'
# In your code, use boto3 normally; type checkers will now provide hints
import boto3
ec2_client = boto3.client('ec2', region_name='us-west-1')
Requires Python 3.9 or later; some IDE platforms may experience performance issues with Literal overloads.
Verify before relying
- Whether type coverage includes all boto3 services or only a subset by default
- Performance impact of full type stubs versus the lite variant on different IDE platforms
- Compatibility guarantees between package versions and specific boto3 minor versions
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — botocore-stubs, types-s3transfer, typing-extensions |
| Maintenance | actively maintained — 1 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 10,326,710/month — #1,460 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: types_boto3-1.43.71-py3-none-any.whl
Keywords: boto3, 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-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
types-boto3-fullProvides type annotations for boto3 1.43.71,…
permissive · top 5,000 on PyPI
types-botocoreProvides type annotations for botocore to…
permissive · top 5,000 on PyPI
mypy-boto3-cleanroomsProvides type annotations for boto3's…
permissive · top 15,000 on PyPI
types-boto3-s3Provides type annotations and IDE…
permissive · top 5,000 on PyPI
boto3-stubs-fullProvides type annotations for boto3 1.43.71 to…
permissive · top 5,000 on PyPI
boto3-stubsProvides type stubs and annotations for boto3…
permissive · top 1,000 on PyPI
boto3-stubs-liteProvides type annotations for boto3 1.43.72,…
permissive · top 15,000 on PyPI
types-boto3-sqsProvides type annotations and IDE…
permissive · top 5,000 on PyPI
types-boto3-iamProvides type annotations and IDE…
permissive · top 5,000 on PyPI