--- id: mypy-boto3-kafka version: "1.43.66" license: MIT license_treatment: permissive maintenance: active --- # mypy-boto3-kafka — Type annotations for boto3 Kafka 1.43.66 service generated with mypy-boto3-builder 8.12.0 License: permissive · Maintenance: active · Downloads: 359.5K/mo ## What it is and what it does This package is a type stub library that provides complete type annotations for the boto3 Kafka service (version 1.43.66). It enables static type checkers like mypy and pyright, as well as IDEs like VSCode, PyCharm, Emacs, and Sublime Text, to understand and validate boto3 Kafka client calls at development time. The stubs include annotations for the KafkaClient, paginators, type definitions, and literal values, allowing developers to catch type errors before runtime and get IDE autocompletion without writing explicit type hints. The package is generated automatically using mypy-boto3-builder and depends only on typing-extensions. It is designed as a development-time dependency and can be safely guarded behind TYPE_CHECKING blocks to avoid production dependencies. Installation is straightforward via pip, either standalone or as part of the boto3-stubs bundle, and it works across multiple Python versions (3.9 through 3.14) and implementations. Use it for: - Enable IDE autocompletion and type checking for boto3 Kafka client code in VSCode with Pylance or PyCharm. - Validate boto3 Kafka calls with mypy or pyright in CI/CD pipelines to catch type errors before deployment. - Get inline documentation and method signatures for KafkaClient in editors that support type stubs. - Use with paginators and type definitions to ensure correct parameter and return types for Kafka API operations. - Reduce runtime errors by catching incorrect boto3 Kafka API usage during static analysis. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides type annotations and IDE autocompletion for the boto3 Kafka service, enabling static type checking with mypy, pyright, and other tools. Yes. This is a lightweight, actively maintained type stub package with no security vulnerabilities, permissive MIT licensing, and a single minimal dependency. Install it if you use boto3 Kafka and want static type checking or IDE autocompletion; it is safe to use as a development-only dependency. PyCharm users should be aware of potential performance issues with Literal overloads (noted in the description) and may prefer the lite variant. ## Install pip install mypy-boto3-kafka uv add mypy-boto3-kafka poetry add mypy-boto3-kafka ## Installing mypy-boto3-kafka Before you install: Low install friction with a single runtime dependency (typing-extensions). Active maintenance with recent releases; repository shows 670 stars and was last updated 2026-06-22. License in practice: MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects. Quickstart: pip install mypy-boto3-kafka from boto3.session import Session from mypy_boto3_kafka import KafkaClient client: KafkaClient = Session().client("kafka") Requires Python 3.9 or later; boto3 must be installed separately. Verify before relying: - Whether PyCharm performance issues mentioned in the description (issue PY-40997) remain unresolved or have been addressed. - Whether the lite variant (boto3-stubs-lite) is recommended as a default for PyCharm users or only when performance problems occur. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 359.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags boto3 kafka type stubs, type annotations aws kafka, mypy boto3 kafka, boto3 kafka autocomplete, type hints kafka client, pyright boto3 kafka, ide support boto3 kafka, type-stubs, boto3, aws-kafka [View on SkillFed](https://skillfed.io/packages/mypy-boto3-kafka) · [View on PyPI](https://pypi.org/project/mypy-boto3-kafka/)