--- id: kafka-python version: "3.0.10" license: Apache-2.0 license_treatment: permissive maintenance: active --- # kafka-python — Pure Python client for Apache Kafka License: permissive · Maintenance: active · Popularity: top 1,000 on PyPI ## Install pip install kafka-python uv add kafka-python poetry add kafka-python ## Description kafka-python ############ .. image:: https://img.shields.io/pypi/v/kafka-python.svg :target: https://pypi.org/project/kafka-python .. image:: https://img.shields.io/badge/kafka-4.3--0.8-brightgreen.svg :target: https://kafka-python.readthedocs.io/en/master/compatibility.html .. image:: https://img.shields.io/badge/license-Apache%202-blue.svg :target: https://github.com/dpkp/kafka-python/blob/master/LICENSE .. image:: https://img.shields.io/pypi/pyversions/kafka-python.svg :target: https://pypi.python.org/pypi/kafka-python kafka-python is a pure-python client library for Apache Kafka, the distributed stream processing engine. It has no external dependencies and no Cython/C/rust core, making installation across a wide variety of environments simple and easy to manage. It provides high-level class components for consumer, producer, and admin clients, as well as CLI scripts for quick interactive tasks. ``kafka-python admin`` serves as a simple alternative to the apache kafka bin/ scripts, particularly if/when you do not have easy access to an installed/compatible jvm. The CLI interface for admin commands is provided as ``kafka-python admin`` and ``python -m... ## AI interpretation — verify before relying kafka-python is a pure-Python client library for Apache Kafka that provides high-level consumer, producer, and admin clients with no external compiled dependencies, plus CLI tools for interactive Kafka operations. Verdict: kafka-python is a production-stable, actively maintained client library with zero known vulnerabilities, no install friction, and permissive licensing. It is well-suited for applications needing Kafka integration across diverse Python environments, though performance-critical use cases may optionally install crc32c for CPU-intensive checksum offloading. [View on SkillFed](https://skillfed.io/packages/kafka-python) · [View on PyPI](https://pypi.org/project/kafka-python/)