--- id: mypy-boto3-bedrock version: "1.43.26" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-bedrock — Type annotations for boto3 Bedrock 1.43.26 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 873.3K/mo ## 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 above — 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 pip install mypy-boto3-bedrock uv add mypy-boto3-bedrock 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_current - Install friction: low - Maintenance: active - Downloads: 873.3K/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 bedrock type stubs, type annotations aws bedrock, boto3 type hints bedrock, bedrock client type checking, mypy boto3 bedrock, pyright aws bedrock types, bedrock ide autocompletion, type-stubs, aws-bedrock, static-typing [View on SkillFed](https://skillfed.io/packages/mypy-boto3-bedrock) · [View on PyPI](https://pypi.org/project/mypy-boto3-bedrock/)