Skip to main content

Cerberus Monitor PyPI version License: MIT Downloads LinkedIn

Cerberus Monitor is a lightweight Python package designed to process and interpret network monitoring insights using advanced language models. It allows users to extract structured data from natural language prompts related to network activity analysis, leveraging the power of the langchain_llm7 library with support for flexible LLM integrations.

Installation

pip install cerberus-monitor

Usage

Here is a basic example of how to use the package:

from cerberus_monitor import cerberus-monitor

user_input = "Analyze recent network traffic for anomalies."
response = cerberus_monitor(user_input)
print(response)

Function Parameters

  • user_input (str): The text describing the network analysis query or command.
  • llm (Optional[BaseChatModel]): An optional instance of a language model from langchain (e.g., OpenAI, Anthropic). If not provided, the function defaults to using ChatLLM7 from langchain_llm7.
  • api_key (Optional[str]): The API key for LLM7 service. This can be set via environment variable LLM7_API_KEY or passed directly.

Notes on LLM Support

This package utilizes ChatLLM7 from langchain_llm7 which supports multiple providers such as:

from langchain_openai import ChatOpenAI
from langchain_anthropic import ChatAnthropic
from langchain_google_genai import ChatGoogleGenerativeAI

For example, to use OpenAI:

from langchain_openai import ChatOpenAI
from cerberus_monitor import cerberus_monitor

llm = ChatOpenAI()
response = cerberus_monitor(user_input, llm=llm)

Similarly, it supports other LLMs by passing their instances into the llm parameter.

Rate Limits

The default free-tier rate limits for LLM7 are sufficient for most uses. For higher rate limits, set your LLM7 API key via:

  • Environment variable: LLM7_API_KEY
  • Or directly in code:
response = cerberus_monitor(user_input, api_key="your_api_key")

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

Related Resources

Author

Eugene Evstafev
Email: hi@eugene.plus
GitHub: chigwell

Metadata

Release files for cerberus-monitor 2025.12.20190018

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cerberus-monitor 2025.12.20190018
File Size Uploaded
cerberus_monitor-2025.12.20190018.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cerberus-monitor 2025.12.20190018
File Interpreter ABI Platform
cerberus_monitor-2025.12.20190018-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / cerberus_monitor-2025.12.20190018.tar.gz

Download URL cerberus_monitor-2025.12.20190018.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
1ec53c9ffc3a5b6ae0faffea96d66f5cda6a17f083a8f3815efb59c85ba7b952
BLAKE2b-256 checksum
How to use checksums
c6dfd3025a182d64f6d0b48858a3d2ab3cee459631d86f1d0ca188e0ff28eb91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release files / cerberus_monitor-2025.12.20190018-py3-none-any.whl

Download URL cerberus_monitor-2025.12.20190018-py3-none-any.whl
Size 4.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0b2dbac4bc174e4f41ba92a51bfd6ae8fa7bf410622cf7bdd9c306b234d6164
BLAKE2b-256 checksum
How to use checksums
50dd6f541c126c14129a2acbfc2068bb70638b297de2a5c38794c9d5212aab5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.11

Release history Release notifications | RSS feed

This release

2025.12.20190018 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page