boto3-stubs-lite
Lite type annotations for boto3 1.43.72 generated with mypy-boto3-builder 8.12.0
What it is and what it does
boto3-stubs-lite is a type-stub package that adds static type information to boto3 1.43.72, the AWS SDK for Python. It works by providing pre-generated type annotations that IDEs and type checkers can read to offer autocomplete, inline documentation, and type validation without modifying your actual boto3 code. The package is compatible with mypy, pyright, VSCode, PyCharm, Emacs, and Sublime Text.
The package depends on three lightweight stub libraries: botocore-stubs, types-s3transfer, and typing-extensions. You install it alongside boto3 in your development environment, and type checkers automatically discover and use the annotations. The lite variant is designed as a lighter alternative to the full distribution, with optional extras like [essential] to add annotations for commonly used services.
Use it for:
- Enable IDE autocomplete and inline type hints when writing boto3 code without manual type annotations.
- Run mypy or pyright on a boto3 project to catch type errors before runtime.
- Use boto3 in a TYPE_CHECKING block to avoid production dependencies while maintaining type support during development.
- Speed up type checking in large codebases by providing explicit type information for boto3 clients and resources.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations for boto3 1.43.72, enabling static type checking with mypy, pyright, and IDE autocomplete across VSCode, PyCharm, Emacs, and Sublime Text.
Yes. This is a low-friction, actively maintained type-stub package with no security vulnerabilities, permissive MIT licensing, and broad IDE support. Install it if you use boto3 and want IDE autocomplete or static type checking. The only gotcha is that you must separately configure a type checker or IDE language server to actually use the annotations.
Install
boto3-stubs-lite on PyPI
pip
pip install boto3-stubs-liteuv
uv add boto3-stubs-litepoetry
poetry add boto3-stubs-liteInstalling boto3-stubs-lite
Before you install
Low friction: a pure-stubs package with only three lightweight type-stub dependencies (botocore-stubs, types-s3transfer, typing-extensions). Actively maintained with release on 2026-08-14.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
pip install 'boto3-stubs-lite[essential]'
import boto3
ec2_client = boto3.client('ec2', region_name='us-west-1')
Requires Python 3.9 or later; type checking tools (mypy, pyright) or an IDE with type-aware language server must be configured separately to use the annotations.
Verify before relying
- Whether all AWS services are covered or only a subset in the lite distribution
- Performance impact of type checking on large boto3 codebases with these stubs
- Specific type annotation coverage for boto3 service clients and resources
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 — 0 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 696,237/month — #5,304 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: boto3_stubs_lite-1.43.72-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
boto3-stubsProvides type stubs and annotations for boto3…
permissive · top 1,000 on PyPI
mypy-boto3-dlmProvides type annotations for boto3's Data…
permissive · top 15,000 on PyPI
mypy-boto3-ebsProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
types-botocoreProvides type annotations for botocore to…
permissive · top 5,000 on PyPI
boto3-stubs-fullProvides type annotations for boto3 1.43.71 to…
permissive · top 5,000 on PyPI
types-boto3Provides type annotations and IDE…
permissive · top 5,000 on PyPI
types-aioboto3-liteProvides type stubs and annotations for…
permissive · top 15,000 on PyPI
mypy-boto3-sdbProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
types-boto3-fullProvides type annotations for boto3 1.43.71,…
permissive · top 5,000 on PyPI
mypy-boto3-rdsProvides type annotations and IDE…
permissive · top 5,000 on PyPI