types-boto3
Type annotations for boto3 1.43.71 generated with mypy-boto3-builder 8.12.0
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; some IDE platforms may experience performance issues with Literal overloads.
- 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 · 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-13 (1 days) · last repo commit 2026-06-22 · 670 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 10,326,710 downloads/mo, #1,460 on PyPI
Alternatives
Verify before relying
# 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')- 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
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 on it.
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
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.
Requires Python 3.9 or later; some IDE platforms may experience performance issues with Literal overloads.
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')
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 packagesbotocore-stubstypes-s3transfertyping-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 |
| 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: types_boto3-1.43.71-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 types-boto3-ec2 · types-boto3-full · types-botocore · mypy-boto3-cleanrooms · types-boto3-s3 · boto3-stubs-full · boto3-stubs · boto3-stubs-lite · types-boto3-sqs · types-boto3-iam