Skip to main content

A new package that provides structured, reliable summaries of technical concepts related to Kafka operations, such as partition management. It takes user-provided text (e.g., a query about increasing

Project description

Kafka Ops Guide

Structured Summaries for Kafka Operations

A new package that provides reliable summaries of technical concepts related to Kafka operations, such as partition management.

Installation

pip install kafka-ops-guide

Usage

from kafka-ops-guide import kafka_ops_guide

user_input = "How to increase Kafka partitions?"
response = kafka_ops_guide(user_input=user_input)
print(response)

Input Parameters

  • user_input: str: The user input text to process.
  • llm: Optional[BaseChatModel]: The langchain LLM instance to use. If not provided, the default ChatLLM7 will be used.
  • api_key: Optional[str]: The API key for LLM7. If not provided, the default free tier API key will be used.

Custom LLMs

You can safely pass your own LLM instance based on langchain if you want to use another LLM.

For example, to use the OpenAI LLM:

from langchain_openai import ChatOpenAI
from kafka-ops-guide import kafka_ops_guide

llm = ChatOpenAI()
response = kafka_ops_guide(user_input="How to increase Kafka partitions?", llm=llm)
print(response)

Similarly, you can use the Anthropic LLM or Google GenAI LLM.

API Key and Rate Limits

The default rate limits for LLM7 free tier are sufficient for most use cases of this package. If you want higher rate limits for LLM7, you can pass your own API key via environment variable LLM7_API_KEY or via passing it directly like kafka_ops_guide(api_key="your_api_key").

You can get a free API key by registering at https://token.llm7.io/

Author and Licensing

This package is released under the MIT license. It was created by Eugene Evstafev (chigwell) and is available on GitHub at https://github.com/chigwell/kafka-ops-guide

PyPI version License: MIT Downloads LinkedIn

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kafka_ops_guide-2025.12.20185738.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kafka_ops_guide-2025.12.20185738-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file kafka_ops_guide-2025.12.20185738.tar.gz.

File metadata

File hashes

Hashes for kafka_ops_guide-2025.12.20185738.tar.gz
Algorithm Hash digest
SHA256 f225a0a188274252f62296529ad21164d73594368c15695fb80d2cd2ee7cc392
MD5 b5b333c76c085bd40778f5f26eb31861
BLAKE2b-256 a6113024950656a6a13dd28876de3dfbdfce106c0cab7cc51aa0ef0909e2c9d5

See more details on using hashes here.

File details

Details for the file kafka_ops_guide-2025.12.20185738-py3-none-any.whl.

File metadata

File hashes

Hashes for kafka_ops_guide-2025.12.20185738-py3-none-any.whl
Algorithm Hash digest
SHA256 a65f7be1de001f0af758ed429dff42645e85edc61b5f6023c373fead7c254b0c
MD5 11234c61edcfc726073eb5cc4d7ed1cc
BLAKE2b-256 0babff84ff9c0ce88fe41a86a35f8c44b189c5a75660d32b0440d5bb857cef15

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page