skillfed

mypy-boto3-cloudtrail

Type annotations for boto3 CloudTrail 1.43.0 service generated with mypy-boto3-builder 8.12.0

mypy-boto3-cloudtrail v1.43.0 479.9K downloads/30d#6,432 on PyPI670
Permissive license MIT Active released

What it is and what it does

This package is a type-stub library that adds complete type annotations for boto3's CloudTrail service. It is generated automatically from boto3's API definitions and works with mypy, pyright, VSCode, PyCharm, Emacs, Sublime Text, and other IDEs that support Python type checking. When installed, it enables IDE autocomplete and static type checking for CloudTrail client calls, paginators, and type definitions—without requiring explicit type annotations in your code.

The package is designed as a companion to boto3; it does not replace or wrap boto3 itself, only adds type information. It depends only on typing-extensions and supports Python 3.9 through 3.14. The library is actively maintained and generated with mypy-boto3-builder 8.12.0. It is most commonly installed as part of boto3-stubs[cloudtrail], though it can also be installed standalone.

Use it for:

  • Enable IDE autocomplete and type hints when writing CloudTrail API calls in VSCode or PyCharm.
  • Run mypy or pyright type checking on CloudTrail boto3 code without manual type annotations.
  • Catch CloudTrail API usage errors at development time instead of runtime.
  • Use paginator types (ListTrailsPaginator, LookupEventsPaginator, etc.) with full type safety.
  • Integrate CloudTrail type checking into CI/CD pipelines with mypy or pyright.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides type annotations and IDE autocomplete for boto3's CloudTrail service, enabling static type checking with mypy, pyright, and other tools.

Yes. If you use boto3's CloudTrail service and want IDE autocomplete or static type checking, install this package—it has low friction, active maintenance, no known vulnerabilities, and an MIT license. Skip it only if you have no type-checking tooling in your workflow or are willing to write all CloudTrail types manually.

Install

mypy-boto3-cloudtrail on PyPI

pip

pip install mypy-boto3-cloudtrail

uv

uv add mypy-boto3-cloudtrail

poetry

poetry add mypy-boto3-cloudtrail

Installing mypy-boto3-cloudtrail

Before you install

Low friction install with a single runtime dependency (typing-extensions). Active maintenance with recent releases; last commit 2026-06-22.

License in practice

MIT license permits use in commercial and private projects with minimal restrictions—include a copy of the license in distributions.

Quickstart

pip install mypy-boto3-cloudtrail

from boto3.session import Session
from mypy_boto3_cloudtrail import CloudTrailClient

client: CloudTrailClient = Session().client("cloudtrail")

Requires Python 3.9 or later; boto3 must be installed separately.

Verify before relying

  • Whether the package works with all boto3 versions or only 1.43.0 and nearby releases.
  • Performance impact in PyCharm; documentation mentions potential slowness with Literal overloads.

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 — 107 days since the last release
Last repo commit
First released
Downloads 479,854/month — #6,432 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mypy_boto3_cloudtrail-1.43.0-py3-none-any.whl

Keywords: boto3, cloudtrail, 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 cloudtrail type stubsaws cloudtrail type annotationsboto3 type hints ide autocompletemypy boto3 cloudtrailcloudtrail static type checkingboto3-stubs cloudtrailpyright boto3 types
type-stubsaws-sdkstatic-typing

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

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

types-aiobotocore-cloudtrail

Provides type annotations for aiobotocore's…

permissive · top 15,000 on PyPI

mypy-boto3-clouddirectory

Provides type annotations and IDE…

permissive · top 15,000 on PyPI

mypy-boto3-evidently

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

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-internetmonitor

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-cloudwatch

Provides type annotations for boto3's…

permissive · top 5,000 on PyPI

mypy-boto3-iot

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI

mypy-boto3-cloudfront

Provides type annotations and IDE autocomplete…

permissive · top 15,000 on PyPI