Buslytics
Buslytics is a Python package designed to process natural language user input to monitor and analyze the health and performance of message bus systems. It leverages language models to interpret queries related to message throughput, error rates, queue statuses, and system alerts, delivering structured insights that help developers and operators maintain system reliability without requiring deep technical expertise.
Installation
Install the package via pip:
pip install buslytics
Usage
Here's a basic example of how to use Buslytics:
from buslytics import buslytics
response = buslytics(user_input="What is the current error rate?", api_key="your_api_key")
print(response)
Parameters:
- user_input (str): The text query input by the user for system analysis.
- llm (Optional[BaseChatModel]): An optional LangChain LLM instance. If not provided, the default ChatLLM7 from
langchain_llm7will be used. - api_key (Optional[str]): Your LLM7 API key. If not provided, it will be fetched from the environment variable
LLM7_API_KEY.
Custom LLM Usage:
You can pass your own language model instance to suit your preferred provider:
from langchain_openai import ChatOpenAI
from buslytics import buslytics
llm = ChatOpenAI()
response = buslytics(user_input="Check message throughput", llm=llm)
Other supported models include:
from langchain_anthropic import ChatAnthropic
llm = ChatAnthropic()
response = buslytics(user_input="Check queue status", llm=llm)
from langchain_google_genai import ChatGoogleGenerativeAI
llm = ChatGoogleGenerativeAI()
response = buslytics(user_input="Identify system alerts", llm=llm)
Notes:
- The package uses
ChatLLM7fromlangchain_llm7by default. - The default rate limits for the free tier of LLM7 are usually sufficient. For higher limits, supply your API key via the environment variable
LLM7_API_KEYor directly as a parameter. - Obtain a free API key at https://token.llm7.io/.
Support and Issues
Please report issues or feature requests at: https://github.com/chigwell/buslytics/issues
Author
Eugene Evstafev
Email: hi@eugene.plus
GitHub: chigwell
License
This project is licensed under the MIT License.
Metadata
Release files for buslytics 2025.12.21154840
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| buslytics-2025.12.21154840.tar.gz | 4.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| buslytics-2025.12.21154840-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / buslytics-2025.12.21154840.tar.gz
| Download URL | buslytics-2025.12.21154840.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e414b9ea7765237d93f70ecc13ebd4f4b8975b437253ae39230600d74a294517
|
|
BLAKE2b-256 checksum How to use checksums |
7aad7747869754b18f68145564ff8f738bedd58a6d020be92b2e7122bcf65cd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Release files / buslytics-2025.12.21154840-py3-none-any.whl
| Download URL | buslytics-2025.12.21154840-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e21284f2d4e45e40feb99043589bfa6a27d5ba081d1d6fdde9ee8c6447ff9ac1
|
|
BLAKE2b-256 checksum How to use checksums |
9756f0e9ba34a3b9bb2aa0ef758e195736357241e99074226aee8dd38ebf3b04
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.1
|
Security for buslytics 2025.12.21154840
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.