skillfed

boto3-stubs-lite

Lite type annotations for boto3 1.43.72 generated with mypy-boto3-builder 8.12.0

boto3-stubs-lite v1.43.72 696.2K downloads/30d#5,304 on PyPI670
Permissive license MIT Active released

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

uv

uv add boto3-stubs-lite

poetry

poetry add boto3-stubs-lite

Installing 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

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 type stubsaws sdk type annotationsboto3 autocompletemypy boto3 typespyright aws typesboto3 ide supporttype checking aws
type-stubsaws-sdkide-support

More Software Development packages