mypy-boto3-kafka
Type annotations for boto3 Kafka 1.43.66 service generated with mypy-boto3-builder 8.12.0
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; boto3 must be installed separately.
- 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 · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects.
last release 2026-08-07 (7 days) · last repo commit 2026-06-22 · 670 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 359,534 downloads/mo, #7,249 on PyPI
Alternatives
Verify before relying
pip install mypy-boto3-kafka
from boto3.session import Session
from mypy_boto3_kafka import KafkaClient
client: KafkaClient = Session().client("kafka")- 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.
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 on this page. Verify before relying on it.
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
mypy-boto3-kafka on PyPI
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.
Requires Python 3.9 or later; boto3 must be installed separately.
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")
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 the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Actively maintained 7 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 359,534 / month, #7,249 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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 |
Evidence: mypy_boto3_kafka-1.43.66-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “boto3 kafka type stubs”
- mypy-boto3-kafkaProvides type annotations and IDE autocompletion for the boto3 Kafka…
- mypy-boto3-kafkaconnectProvides type annotations and IDE autocomplete support for the boto3…
- confluent-kafka-stubsProvides type hints and stubs for the confluent-kafka package to…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also mypy-boto3-s3 · mypy-boto3-socialmessaging · mypy-boto3-ec2 · mypy-boto3-devicefarm · types-confluent-kafka · mypy-boto3-kms · mypy-boto3-kafkaconnect · mypy-boto3-config · confluent-kafka-stubs · mypy-boto3-chatbot