mypy-boto3-kms

Type annotations for AWS KMS service in Python boto3

pipmacoslinuxwindows
Try with needOr install directly
Source

About

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

Examples

get autocomplete for KMS client methods in IDE$ python -c "from mypy_boto3_kms.client import KmsClient; help(KmsClient.encrypt)"
enable type checking for boto3 KMS code with mypy$ mypy --strict script_using_kms.py
view available KMS service type hints in Python$ python -c "import mypy_boto3_kms; print(dir(mypy_boto3_kms))"
check KMS request and response type definitions$ python -c "from mypy_boto3_kms.type_defs import CreateKeyRequest; print(CreateKeyRequest.__annotations__)"
verify correct parameter types for KMS API calls$ python -c "from mypy_boto3_kms.client import KmsClient; client: KmsClient"