mypy-boto3-kms
Type annotations for boto3 KMS 1.43.12 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 KMS (Key Management Service) client. It is generated automatically from boto3 1.43.12 and works with mypy, pyright, VSCode Pylance, PyCharm, Emacs, Sublime Text, and other IDEs that support Python type hints. When installed, it enables IDE autocompletion, type checking, and inline documentation for all KMS API calls without requiring explicit type annotations in your code.
The package is designed as a development dependency—you can safely exclude it from production using TYPE_CHECKING guards. It provides annotations for the KMS client, paginators, waiters, and service resource types. The documentation notes that PyCharm may experience performance issues with the full type coverage due to extensive Literal overloads, in which case the lighter boto3-stubs-lite variant is recommended as an alternative.
Use it for:
- Enable IDE autocompletion and type checking when writing boto3 KMS code in VSCode with Pylance or PyCharm.
- Catch KMS API usage errors at development time with mypy or pyright before running code.
- Document KMS client method signatures and return types inline in your editor without manual annotation.
- Use paginators and waiters with full type safety for KMS operations like listing keys or describing key stores.
- Integrate type checking into CI/CD pipelines to validate boto3 KMS calls across your codebase.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides type annotations and IDE autocompletion for boto3 KMS service calls, enabling type checking with mypy, pyright, and other static analysis tools.
Yes, if you use boto3 KMS in a typed Python project. Install friction is minimal, maintenance is active, and the MIT license poses no restrictions. The only caveat is PyCharm performance with full type coverage—use boto3-stubs-lite instead if you encounter slowdowns. For mypy, pyright, VSCode, or other type-aware tools, this package is a straightforward win.
Install
mypy-boto3-kms on PyPI
pip
pip install mypy-boto3-kmsuv
uv add mypy-boto3-kmspoetry
poetry add mypy-boto3-kmsInstalling mypy-boto3-kms
Before you install
Low install friction; single runtime dependency on typing-extensions. Actively maintained with recent releases; repository has 670 stars and last commit on 2026-06-22.
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
Quickstart
pip install mypy-boto3-kms
from boto3.session import Session
from mypy_boto3_kms import KMSClient
client: KMSClient = Session().client("kms")
# Type checking and IDE autocompletion now available
Requires Python 3.9 or later; boto3 must be installed separately in your environment.
Verify before relying
- Whether performance impact on PyCharm is acceptable for your project (docs mention PyCharm issue PY-40997 with Literal overloads).
- Whether boto3-stubs-lite is a better fit if you need lighter memory footprint over full type coverage.
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 — 86 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,769,397/month — #3,572 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_kms-1.43.12-py3-none-any.whl
Keywords: boto3, kms, 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-service-quotasProvides type annotations for boto3's…
permissive · top 15,000 on PyPI
types-boto3-kmsProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-eksProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-xrayProvides type annotations for boto3's XRay…
permissive · top 5,000 on PyPI
mypy-boto3-workdocsProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-transferProvides type annotations for boto3's Transfer…
permissive · top 15,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-mturkProvides type annotations for boto3's MTurk…
permissive · top 15,000 on PyPI
mypy-boto3-lakeformationProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-kafkaProvides type annotations and IDE…
permissive · top 15,000 on PyPI