--- id: mypy-boto3-logs version: "1.43.66" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-logs — Type annotations for boto3 CloudWatchLogs 1.43.66 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 2.0M/mo ## What it is and what it does mypy-boto3-logs is a type-stub package that adds complete type annotations for the boto3 CloudWatchLogs service. It is generated from boto3 1.43.66 and works with mypy, pyright, VSCode Pylance, PyCharm, Emacs, Sublime Text, and other IDE and type-checker tools. When installed, it enables static type checking and IDE autocompletion for CloudWatchLogs client calls without requiring explicit type annotations in your code. The package depends only on typing-extensions and is designed as a development-time or optional runtime dependency. It supports Python 3.9 through 3.14 and is classified as Production/Stable. The documentation notes that PyCharm users may experience performance issues with Literal overloads and recommends using the lite variant or switching to mypy/pyright for type checking in that case. Use it for: - Enable IDE autocompletion and type hints when using boto3 to interact with AWS CloudWatch Logs. - Run mypy or pyright type checking on code that calls CloudWatchLogs client methods. - Catch type errors at development time before deploying boto3-based AWS applications. - Use TYPE_CHECKING guards to include type annotations without adding a production runtime dependency. - Work with paginators and service resource types with full type safety in CloudWatch Logs operations. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type annotations for boto3's CloudWatchLogs service, enabling type checking and IDE autocompletion when working with AWS Logs through boto3. Yes. This is a lightweight, actively maintained type-stub package with no known vulnerabilities, permissive licensing, and low install friction. Install it if you use boto3 for CloudWatch Logs and want IDE autocompletion and static type checking. It is optional at runtime but valuable during development. ## Install pip install mypy-boto3-logs uv add mypy-boto3-logs poetry add mypy-boto3-logs ## Installing mypy-boto3-logs Before you install: Low install friction with a single lightweight runtime dependency (typing-extensions). Released 7 days ago with active maintenance; the repository has 670 stars and was last updated 2026-06-22. License in practice: MIT license permits unrestricted use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects. Quickstart: pip install mypy-boto3-logs from boto3.session import Session from mypy_boto3_logs import CloudWatchLogsClient client: CloudWatchLogsClient = Session().client("logs") # Type checking and IDE completion now work for client usage Requires Python 3.9 or later; boto3 must be installed separately in your environment. Verify before relying: - Whether PyCharm performance issues mentioned in the docs (issue PY-40997) still affect current versions. - Whether the lite variant (boto3-stubs-lite) is recommended for production deployments to reduce memory overhead. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 2.0M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 type stubs cloudwatch logs, aws logs type annotations, boto3 cloudwatchlogs mypy support, type hints for boto3 logs client, boto3 logs autocomplete ide, cloudwatch logs type checking, boto3 stubs logs service, type-stubs, boto3-service, aws-cloudwatch [View on SkillFed](https://skillfed.io/packages/mypy-boto3-logs) · [View on PyPI](https://pypi.org/project/mypy-boto3-logs/)