--- id: mypy-boto3-cloudfront version: "1.43.8" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-cloudfront — Type annotations for boto3 CloudFront 1.43.8 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 574.6K/mo ## What it is and what it does This package is a type-stub library that adds static type information to boto3's CloudFront service. It was generated by mypy-boto3-builder 8.12.0 and provides type hints for CloudFront clients, paginators, waiters, and type definitions, enabling IDEs and type checkers to offer code completion and catch type errors at development time rather than runtime. It works by installing alongside boto3 and providing `.pyi` stub files that describe the CloudFront API surface. When you import CloudFrontClient and annotate your boto3 client with it, mypy, pyright, VSCode Pylance, PyCharm, and other tools can understand what methods and arguments are available. The package is designed as a development-only dependency—you can use TYPE_CHECKING guards to avoid shipping it in production. Use it for: - Enable IDE autocomplete and inline documentation for CloudFront API calls in VSCode with Pylance or PyCharm. - Run mypy or pyright type checking on code that uses boto3 CloudFront to catch method name and argument type errors before deployment. - Add explicit type annotations to CloudFront client code for better code clarity and maintainability in large projects. - Use boto3-stubs[cloudfront] as a lighter alternative when PyCharm performance is degraded by full stub overloads. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type annotations and IDE autocomplete support for boto3's CloudFront service, enabling static type checking with mypy, pyright, and other tools. Yes, if you use boto3 CloudFront and want static type checking or IDE support. Install friction is minimal, maintenance is active, and the MIT license has no restrictions. Install as a dev dependency only (via TYPE_CHECKING guards) to avoid shipping it to production. Note: PyCharm users may experience performance issues; consider boto3-stubs-lite as an alternative if that occurs. ## Install pip install mypy-boto3-cloudfront uv add mypy-boto3-cloudfront poetry add mypy-boto3-cloudfront ## Installing mypy-boto3-cloudfront Before you install: Low friction installation with a single lightweight dependency (typing-extensions). Actively maintained with recent releases; last commit 2026-06-22. License in practice: MIT license permits use in any project, commercial or open-source, with minimal restrictions. Quickstart: pip install mypy-boto3-cloudfront from boto3.session import Session from mypy_boto3_cloudfront import CloudFrontClient client: CloudFrontClient = Session().client("cloudfront") 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 codebase size (documentation notes potential slowness with Literal overloads). - Whether the generated stubs remain in sync with boto3 CloudFront 1.43.8 across your project's update cycle. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 574.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 cloudfront type stubs, aws cloudfront type annotations, mypy boto3 cloudfront, boto3 cloudfront autocomplete, type hints for cloudfront, boto3 stubs cloudfront, cloudfront type checking, type-stubs, aws-sdk, boto3 [View on SkillFed](https://skillfed.io/packages/mypy-boto3-cloudfront) · [View on PyPI](https://pypi.org/project/mypy-boto3-cloudfront/)