mypy-boto3-cloudfront
Type annotations for boto3 CloudFront 1.43.8 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 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 on this page — 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
mypy-boto3-cloudfront on PyPI
pip
pip install mypy-boto3-cloudfrontuv
uv add mypy-boto3-cloudfrontpoetry
poetry add mypy-boto3-cloudfrontInstalling 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 the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 92 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 574,593/month — #5,939 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_cloudfront-1.43.8-py3-none-any.whl
Keywords: boto3, cloudfront, 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-cloudfront-keyvaluestoreProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-ec2Provides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-evidentlyProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-cloudtrailProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-neptuneProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-fsxProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-snowballProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-cloudformationProvides type annotations and IDE autocomplete…
permissive · top 5,000 on PyPI
mypy-boto3-dataexchangeProvides type annotations and IDE…
permissive · top 5,000 on PyPI
mypy-boto3-appmeshProvides type annotations and IDE…
permissive · top 15,000 on PyPI