boto3-stubs-lite
Lite type annotations for boto3 1.43.72 generated with mypy-boto3-builder 8.12.0
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- 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.
- 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 · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
last release 2026-08-14 (0 days) · last repo commit 2026-06-22 · 670 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 696,237 downloads/mo, #5,304 on PyPI
Alternatives
Verify before relying
pip install 'boto3-stubs-lite[essential]'
import boto3
ec2_client = boto3.client('ec2', region_name='us-west-1')- 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
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 on it.
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
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.
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.
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')
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 packagesbotocore-stubstypes-s3transfertyping-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 |
| 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: boto3_stubs_lite-1.43.72-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.
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 boto3-stubs · mypy-boto3-dlm · mypy-boto3-ebs · types-botocore · boto3-stubs-full · types-boto3 · types-aioboto3-lite · mypy-boto3-sdb · types-boto3-full · mypy-boto3-rds