skillfed

mypy-boto3-kms

Type annotations for boto3 KMS 1.43.12 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-kms v1.43.12 1.8M downloads/30d#3,572 on PyPI670
Permissive license MIT Active released

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

uv

uv add mypy-boto3-kms

poetry

poetry add mypy-boto3-kms

Installing 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

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 type stubs kmsaws kms type annotationsboto3 kms mypy supportkms client type hintsboto3 kms autocompleteaws kms type checkingboto3-stubs kms
type-stubsaws-sdkboto3

More Software Development packages