mypy-boto3-cloudhsmv2
Type annotations for boto3 CloudHSMV2 1.43.0 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package provides pre-generated type stubs for the boto3 CloudHSMV2 service, allowing Python developers to use static type checking and IDE autocompletion when working with AWS CloudHSM operations. It is a stub-only package (no runtime code) that bridges the gap between boto3's dynamic API and tools like mypy, pyright, VSCode, PyCharm, and other IDEs that rely on type information for code completion and error detection.
The package is generated automatically from boto3 1.43.0 using mypy-boto3-builder and includes type annotations for CloudHSMV2 clients, paginators, waiters, and service resources. It depends only on typing-extensions and is designed to be installed alongside boto3 in development environments. The documentation notes that PyCharm users may experience performance issues due to Literal overload handling and recommends using boto3-stubs-lite as an alternative in such cases.
Use it for:
- Enable mypy or pyright type checking in a project that uses boto3 CloudHSMV2 operations.
- Get IDE autocompletion and inline documentation for CloudHSMV2 client methods in VSCode or PyCharm.
- Catch type errors in CloudHSMV2 API calls during development rather than at runtime.
- Use TYPE_CHECKING guards to avoid runtime dependencies on type stubs in production code.
- Verify correct parameter types and return values for CloudHSMV2 paginators and waiters.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type stubs and IDE autocompletion for boto3's CloudHSMV2 service, enabling static type checking with mypy, pyright, and IDE support in VSCode, PyCharm, Emacs, and Sublime Text.
Yes, if you use boto3 CloudHSMV2 and want type checking and IDE support. Install friction is minimal, maintenance is active, and the MIT license poses no restrictions. The only caveat is that PyCharm users may experience performance issues and should consider boto3-stubs-lite instead; otherwise, this is a straightforward quality-of-life improvement for CloudHSM development.
Install
mypy-boto3-cloudhsmv2 on PyPI
pip
pip install mypy-boto3-cloudhsmv2uv
uv add mypy-boto3-cloudhsmv2poetry
poetry add mypy-boto3-cloudhsmv2Installing mypy-boto3-cloudhsmv2
Before you install
Low install friction with a single runtime dependency (typing-extensions). The package is actively maintained with recent commits and a stable release cadence, though it is generated from boto3 1.43.0 and will require updates when boto3 versions advance.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.
Quickstart
pip install mypy-boto3-cloudhsmv2
from boto3.session import Session
from mypy_boto3_cloudhsmv2 import CloudHSMV2Client
client: CloudHSMV2Client = Session().client("cloudhsmv2")
Requires Python 3.9 or later; type checking benefits depend on having mypy, pyright, or a compatible IDE installed.
Verify before relying
- Whether the package's type coverage is complete for all CloudHSMV2 operations and edge cases.
- Performance impact when used with PyCharm (documentation warns of potential slowness with Literal overloads).
- Compatibility with boto3 versions other than 1.43.0.
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 — 107 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 251,246/month — #8,590 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_cloudhsmv2-1.43.0-py3-none-any.whl
Keywords: boto3, cloudhsmv2, 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
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-ssmProvides type stubs and annotations for boto3's…
permissive · top 5,000 on PyPI
mypy-boto3-evidentlyProvides type annotations and IDE…
permissive · top 15,000 on PyPI
boto3-stubsProvides type stubs and annotations for boto3…
permissive · top 1,000 on PyPI
mypy-boto3-cloudhsmProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-cloud9Provides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-fsxProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
boto3-stubs-fullProvides type annotations for boto3 1.43.71 to…
permissive · top 5,000 on PyPI
mypy-boto3-configProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-sagemakerProvides type annotations and IDE…
permissive · top 5,000 on PyPI