mypy-boto3-cloudhsm
Type annotations for boto3 CloudHSM 1.43.0 service generated with mypy-boto3-builder 8.12.0
What it is and what it does
This package provides type stub annotations for the boto3 CloudHSM service, enabling static type checkers and IDEs to understand the CloudHSM client API. It is generated from boto3 1.43.0 and works with mypy, pyright, VSCode Pylance, PyCharm, and other tools that support Python type hints. The stubs include type annotations for the CloudHSM client, paginators, and service-specific types, allowing developers to catch type errors during development and get IDE autocomplete suggestions without writing manual type annotations.
The package is a stub-only distribution—it contains no runtime code, only type information. It is typically installed as part of boto3-stubs[cloudhsm] or used standalone. The package depends only on typing-extensions, making it lightweight. It supports Python 3.9 through 3.14 and is actively maintained by the youtype project.
Use it for:
- Enable mypy or pyright type checking on boto3 CloudHSM client code to catch type errors before runtime.
- Get IDE autocomplete and inline documentation for CloudHSM API methods and parameters in VSCode or Emacs.
- Type-annotate CloudHSM paginator usage without manually writing out complex type signatures.
- Validate boto3 CloudHSM code in CI/CD pipelines using static type checkers.
- Improve code maintainability by catching API misuse (wrong parameter types, missing required arguments) at development time.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocomplete support for boto3's CloudHSM service, enabling static type checking with mypy, pyright, and other tools.
Yes. If you use boto3 with CloudHSM and want static type checking or IDE support, this package is worth installing. It has low install friction, active maintenance, no known vulnerabilities, and a permissive license. The only caveat is that PyCharm users may experience performance issues with the full stubs; in that case, the lite variant is recommended.
Install
mypy-boto3-cloudhsm on PyPI
pip
pip install mypy-boto3-cloudhsmuv
uv add mypy-boto3-cloudhsmpoetry
poetry add mypy-boto3-cloudhsmInstalling mypy-boto3-cloudhsm
Before you install
Low install friction with a single lightweight dependency (typing-extensions). The package is actively maintained with a recent release, and the repository shows ongoing development.
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-cloudhsm
from boto3.session import Session
from mypy_boto3_cloudhsm import CloudHSMClient
client: CloudHSMClient = Session().client("cloudhsm")
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
Verify before relying
- Whether performance issues in PyCharm mentioned in the description (issue PY-40997) have been resolved in recent PyCharm versions.
- Whether the lite variant (boto3-stubs-lite) offers meaningful performance improvements for CloudHSM specifically.
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,027/month — #8,600 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_cloudhsm-1.43.0-py3-none-any.whl
Keywords: boto3, cloudhsm, 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
mypy-boto3-iotProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-cloudhsmv2Provides type stubs and IDE autocompletion for…
permissive · top 15,000 on PyPI
mypy-boto3-chime-sdk-messagingProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-mghProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-connectProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-fsxProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-cloudsearchProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI