Registry / type-stubs / mypy-boto3-cloudfront-keyvaluestore

mypy-boto3-cloudfront-keyvaluestore

JSON →
library1.43.0pypypi✓ verified 27d ago

mypy-boto3-cloudfront-keyvaluestore provides type annotations for the boto3 CloudFrontKeyValueStore client, allowing for static type checking with tools like MyPy. It is generated by `mypy-boto3-builder` and its version is synchronized with the corresponding `boto3` and `types-botocore-cloudfront-keyvaluestore` versions. The library receives frequent updates, typically aligning with new boto3 releases and `mypy-boto3-builder` enhancements.

pip install mypy-boto3-cloudfront-keyvaluestore
INSTALL
IMPORT
SIG · MYPY-BOTO3-CLOUDFR
M
mypy-boto3-cloudfront-keyvaluestore
type-stubspythonv1.43.0
Install
1.6s avg
Import
—
Disk
16MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.9–3.13
musl
3.9–3.13
Install & Compatibility
Where this runs
tested against v1.43.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.2MB
glibc
py 3.10–3.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 19MB
16MB installed
● package 16MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

CloudFrontKeyValueStoreClient
✓ from mypy_boto3_cloudfront_keyvaluestore import CloudFrontKeyValueStoreClient
✗ from mypy_boto3_cloudfront_keyvaluestore import CloudFrontKeyValueStoreClient

Demonstrates how to import and use the `CloudFrontKeyValueStoreClient` type hint to annotate a boto3 client, enabling static type checking for your CloudFrontKeyValueStore operations.

import boto3 from mypy_boto3_cloudfront_keyvaluestore.client import CloudFrontKeyValueStoreClient def get_key_value_client() -> CloudFrontKeyValueStoreClient: """Gets a typed CloudFront KeyValueStore client.""" client: CloudFrontKeyValueStoreClient = boto3.client("cloudfront-keyvaluestore") return client # Example usage (requires an AWS setup, e.g., via ~/.aws/credentials) if __name__ == "__main__": try: cfkvs_client = get_key_value_client() print(f"Successfully created CloudFront KeyValueStore client: {cfkvs_client.meta.region_name}") # You can now use cfkvs_client with type hints # For example, to list key value stores (if you have any): # response = cfkvs_client.list_key_value_stores() # print(response) except Exception as e: print(f"Error creating client: {e}")
Debug
Known issues
breakingPython 3.8 support has been removed since `mypy-boto3-builder` version 8.12.0. If you are using `mypy-boto3-cloudfront-keyvaluestore` version 1.42.3 or newer, your project must use Python 3.9 or higher.
fix
Upgrade your Python environment to 3.9 or later. If unable to upgrade Python, pin `mypy-boto3-cloudfront-keyvaluestore` to an older version (e.g., <1.42.3) that was built with `mypy-boto3-builder` versions supporting Python 3.8.
affects: >=1.42.3 (aligned with builder >=8.12.0)
gotchaThe version of `mypy-boto3-cloudfront-keyvaluestore` must closely match your installed `boto3` version. Mismatched versions can lead to incorrect or missing type hints, causing MyPy errors or silently allowing runtime issues.
fix
Always install `mypy-boto3-cloudfront-keyvaluestore` with the same major and minor version as your `boto3` package. For example, if you use `boto3==1.42.3`, install `mypy-boto3-cloudfront-keyvaluestore==1.42.3`.
affects: All versions
breakingStarting with `mypy-boto3-builder` version 8.9.0, some TypeDef names were changed to be shorter (e.g., `CreateDistributionRequestRequestTypeDef` became `CreateDistributionRequestTypeDef`) and conflicting `Extra` postfixes were reordered. While this specific service might not be directly affected, be aware of potential TypeDef renaming if migrating existing code using `mypy-boto3`.
fix
Review your code for direct imports or references to `TypeDef` classes from `mypy-boto3` packages after upgrading. Update class names according to the new conventions, often found in the generated `type_defs.pyi` files or release notes.
affects: Generated packages from builder >=8.9.0
gotchaBeginning with `mypy-boto3-builder` version 8.12.0, all generated packages migrated to PEP 561. This change is generally beneficial but might require ensuring your build system or `mypy` configuration correctly discovers the stubs, especially in complex project setups or when using `pip install -e .` (editable installs).
fix
For editable installs, ensure `pyproject.toml` or `setup.py` correctly declares the package as `py.typed`. If `mypy` has trouble finding stubs, verify your `mypy` configuration (`mypy.ini`) and environment variables (`MYPYPATH`).
affects: >=1.42.3 (aligned with builder >=8.12.0)
Upgrade
Version history
1.43.0latest on PyPI · released Apr 29, 2026
Audit
Dependencies
boto3requiredProvides the runtime functionality for which these type stubs are generated. The stub version must match your boto3 version.
types-botocore-cloudfront-keyvaluestorerequiredThis package is a direct dependency that provides the underlying botocore type definitions for the service.
Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources