skillfed

types-boto3

Type annotations for boto3 1.43.71 generated with mypy-boto3-builder 8.12.0

types-boto3 v1.43.71 10.3M downloads/30d#1,460 on PyPI670
Permissive license MIT Active released

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

uv

uv add types-boto3

poetry

poetry add types-boto3

Installing 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

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 stubsboto3 type annotationsaws sdk type checkingboto3 mypy supportboto3 autocompleteboto3 pyright stubsaws type hints
type-stubsaws-sdkide-support

More Software Development packages