skillfed

mypy-boto3-cloudfront

Type annotations for boto3 CloudFront 1.43.8 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-cloudfront v1.43.8 574.6K downloads/30d#5,939 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 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-cloudfront

uv

uv add mypy-boto3-cloudfront

poetry

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

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 cloudfront type stubsaws cloudfront type annotationsmypy boto3 cloudfrontboto3 cloudfront autocompletetype hints for cloudfrontboto3 stubs cloudfrontcloudfront type checking
type-stubsaws-sdkboto3

More Software Development packages

typing-extensions

Provides backported and experimental type hints…

permissive · top 100 on PyPI

numpy

NumPy provides an N-dimensional array object…

permissive · top 100 on PyPI

fastapi

FastAPI is a Python web framework for building…

permissive · top 100 on PyPI

annotated-doc

Provides a way to document function parameters,…

permissive · top 100 on PyPI

typer

Typer builds command-line applications from…

permissive · top 1,000 on PyPI

distlib

Distlib provides low-level packaging utilities…

permissive · top 1,000 on PyPI

mypy-boto3-cloudfront-keyvaluestore

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-ec2

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

mypy-boto3-evidently

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-cloudtrail

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-neptune

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-fsx

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-snowball

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-cloudformation

Provides type annotations and IDE autocomplete…

permissive · top 5,000 on PyPI

mypy-boto3-dataexchange

Provides type annotations and IDE…

permissive · top 5,000 on PyPI

mypy-boto3-appmesh

Provides type annotations and IDE…

permissive · top 15,000 on PyPI