--- id: mypy-boto3-cloudtrail version: "1.43.0" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-cloudtrail — Type annotations for boto3 CloudTrail 1.43.0 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 479.9K/mo ## 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 above — 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 pip install mypy-boto3-cloudtrail uv add mypy-boto3-cloudtrail 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_current - Install friction: low - Maintenance: active - Downloads: 479.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 cloudtrail type stubs, aws cloudtrail type annotations, boto3 type hints ide autocomplete, mypy boto3 cloudtrail, cloudtrail static type checking, boto3-stubs cloudtrail, pyright boto3 types, type-stubs, aws-sdk, static-typing [View on SkillFed](https://skillfed.io/packages/mypy-boto3-cloudtrail) · [View on PyPI](https://pypi.org/project/mypy-boto3-cloudtrail/)