mypy-boto3-logs
Type annotations for boto3 CloudWatchLogs 1.43.66 service generated with mypy-boto3-builder 8.12.0
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 on this page — 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
mypy-boto3-logs on PyPI
pip
pip install mypy-boto3-logsuv
uv add mypy-boto3-logspoetry
poetry add mypy-boto3-logsInstalling 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 the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — typing-extensions |
| Maintenance | actively maintained — 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 2,047,635/month — #3,342 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: mypy_boto3_logs-1.43.66-py3-none-any.whl
Keywords: boto3, logs, 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
types-boto3-logsProvides type annotations for boto3's…
permissive · top 15,000 on PyPI
types-aiobotocore-logsProvides type annotations for aiobotocore…
permissive · top 15,000 on PyPI
mypy-boto3-s3Provides type annotations and IDE…
permissive · top 1,000 on PyPI
mypy-boto3-evidentlyProvides type annotations and IDE…
permissive · top 15,000 on PyPI
mypy-boto3-cloudwatchProvides type annotations for boto3's…
permissive · top 5,000 on PyPI
mypy-boto3-backupProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-cloudtrailProvides type annotations and IDE autocomplete…
permissive · top 15,000 on PyPI
mypy-boto3-kafkaProvides 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-drsProvides type annotations for the boto3 AWS Drs…
permissive · top 15,000 on PyPI