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 defaultChatLLM7will 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file kafka_ops_guide-2025.12.20185738.tar.gz.
File metadata
- Download URL: kafka_ops_guide-2025.12.20185738.tar.gz
- Upload date:
- Size: 3.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f225a0a188274252f62296529ad21164d73594368c15695fb80d2cd2ee7cc392
|
|
| MD5 |
b5b333c76c085bd40778f5f26eb31861
|
|
| BLAKE2b-256 |
a6113024950656a6a13dd28876de3dfbdfce106c0cab7cc51aa0ef0909e2c9d5
|
File details
Details for the file kafka_ops_guide-2025.12.20185738-py3-none-any.whl.
File metadata
- Download URL: kafka_ops_guide-2025.12.20185738-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a65f7be1de001f0af758ed429dff42645e85edc61b5f6023c373fead7c254b0c
|
|
| MD5 |
11234c61edcfc726073eb5cc4d7ed1cc
|
|
| BLAKE2b-256 |
0babff84ff9c0ce88fe41a86a35f8c44b189c5a75660d32b0440d5bb857cef15
|