mypy-boto3-bedrock
Type annotations for boto3 Bedrock 1.43.26 service generated with mypy-boto3-builder 8.12.0
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-bedrockuv
uv add mypy-boto3-bedrockpoetry
poetry add mypy-boto3-bedrockInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
types-boto3-bedrockProvides type annotations for boto3's Bedrock…
permissive · top 15,000 on PyPI
types-aiobotocore-bedrockProvides type annotations for the aiobotocore…
permissive · top 15,000 on PyPI
mypy-boto3-bedrock-data-automationProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-bedrock-agentProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-bedrock-runtimeProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-bedrock-data-automation-runtimeProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-bedrock-agent-runtimeProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-bedrock-agentcore-controlProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-appmeshProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-bedrock-agentcoreProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI