skillfed

mypy-boto3-cloudhsmv2

Type annotations for boto3 CloudHSMV2 1.43.0 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-cloudhsmv2 v1.43.0 251.2K downloads/30d#8,590 on PyPI670
Permissive license MIT Active released

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-cloudhsmv2

uv

uv add mypy-boto3-cloudhsmv2

poetry

poetry add mypy-boto3-cloudhsmv2

Installing 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

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 cloudhsmv2 type stubsaws cloudhsmv2 type annotationsboto3 type hints ide supportmypy boto3 cloudhsmv2pyright aws sdk stubsboto3 autocompletion vscodecloudhsmv2 client type checking
type-stubsaws-sdkide-support

More Software Development packages