Comparison
aiokafka vs kafka-python-ng
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Kafka integration with asyncio
Actively maintained. Last release 5 weeks ago, commits in 8 of the last 26 weeks. A safe choice.
$
pip install aiokafkaPure Python client for Apache Kafka
Archived. The repository is read-only: no more fixes or releases will come.
$
pip install kafka-python-ngIn short
- kafka-python-ng is archived: avoid it for new projects.
- aiokafka is the most used: 15.5M downloads a month, 11× more than kafka-python-ng.
- aiokafka also has the best Pythie’s Index (70).
- aiokafka is growing fastest: downloads +20% over the last month.
- Safe default for a new project: aiokafka.
Side by side
| Metric | aiokafka | kafka-python-ng |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 70 | Pythie’s Index: 5 |
| Verdict | Actively maintained | Archived |
| Downloads / month | 15.5M | 1.4M |
| Downloads, month over month | +20% | -1% |
| GitHub stars | 1.4K | 105 |
| Stars, last 7 days | – | – |
| Direct dependents | 121 | 30 |
| Last release | Oct 28, 2026 | Oct 2, 2024 |
| Releases, 12 months | 5 | 0 |
| Weeks with commits | 8 / 26 | 0 / 26 |
| Recent contributors | 21 | 40 |
| First release | Apr 2016 | Mar 2024 |
| Python versions | 3.11 – 3.15 | 3.8 – 3.12 |
| License | Apache-2.0 | Apache-2.0 |
| Known vulnerabilities | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.