skillfed

mypy-boto3-bedrock

Type annotations for boto3 Bedrock 1.43.26 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-bedrock v1.43.26 873.3K downloads/30d#4,837 on PyPI670
Permissive license MIT Active released

What it is and what it does

This package is a type-stub library that adds static type information to boto3's Bedrock service client. It is generated automatically from boto3's API definitions and enables IDEs and type checkers to understand the shape and behavior of Bedrock API calls, providing code completion, parameter validation, and error detection at development time.

The package works with mypy, pyright, VSCode (via Pylance), PyCharm, Emacs, Sublime Text, and other tools that support Python type hints. It has no runtime behavior—it only provides type metadata. Installation is straightforward and adds minimal overhead; the single runtime dependency is typing-extensions. The package is actively maintained and supports Python 3.9 through 3.14.

Use it for:

  • Enable IDE autocompletion and inline documentation when writing boto3 Bedrock client code.
  • Catch type errors in Bedrock API calls before runtime using mypy or pyright in CI/CD pipelines.
  • Reduce bugs by catching incorrect parameter names or types when invoking Bedrock operations.
  • Improve code readability by making Bedrock client types explicit in function signatures and variable annotations.
  • Use in VSCode with Pylance for seamless type checking without explicit annotations in boto3 code.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type annotations and IDE autocompletion for boto3's Bedrock service, enabling static type checking with mypy, pyright, and other tools.

Yes—if you use boto3 with Bedrock and want static type checking or IDE autocompletion. Install friction is negligible, maintenance is active, the license is permissive, and there are no known vulnerabilities. The only gotcha is PyCharm performance on Literal overloads (documented in the description), which can be mitigated by using the lite variant or a different type checker.

Install

mypy-boto3-bedrock on PyPI

pip

pip install mypy-boto3-bedrock

uv

uv add mypy-boto3-bedrock

poetry

poetry add mypy-boto3-bedrock

Installing mypy-boto3-bedrock

Before you install

Low friction—a single runtime dependency (typing-extensions) and a pure-Python wheel. Actively maintained with recent releases; the repository shows consistent activity and the package is in production-stable status.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal restrictions.

Quickstart

# Install
python -m pip install mypy-boto3-bedrock

# Use in code
from boto3.session import Session
from mypy_boto3_bedrock import BedrockClient

client: BedrockClient = Session().client("bedrock")

Requires Python 3.9 or later; boto3 itself must be installed separately to use the client at runtime.

Verify before relying

  • Whether the package works with all boto3 versions or only 1.43.26 specifically.
  • Performance impact in PyCharm compared to the lite variant mentioned in the description.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.9)
Install friction low — pure-Python wheel
Runtime dependencies 1 — typing-extensions
Maintenance actively maintained — 66 days since the last release
Last repo commit
First released
Downloads 873,290/month — #4,837 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_bedrock-1.43.26-py3-none-any.whl

Keywords: boto3, bedrock, 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 bedrock type stubstype annotations aws bedrockboto3 type hints bedrockbedrock client type checkingmypy boto3 bedrockpyright aws bedrock typesbedrock ide autocompletion
type-stubsaws-bedrockstatic-typing

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

types-boto3-bedrock

Provides type annotations for boto3's Bedrock…

permissive · top 15,000 on PyPI

types-aiobotocore-bedrock

Provides type annotations for the aiobotocore…

permissive · top 15,000 on PyPI

mypy-boto3-bedrock-data-automation

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-bedrock-agent

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-bedrock-runtime

Provides type annotations and IDE…

permissive · top 5,000 on PyPI

mypy-boto3-bedrock-data-automation-runtime

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-bedrock-agent-runtime

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-bedrock-agentcore-control

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-appmesh

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-bedrock-agentcore

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI