Skip to main content

Cerberus: A Simplified Network Monitoring Solution that Empowers Users to Extract Insightful Insights from Network Activity in Real-Time.

Project description

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

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

cerberus_monitor-2025.12.20190018.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

cerberus_monitor-2025.12.20190018-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file cerberus_monitor-2025.12.20190018.tar.gz.

File metadata

File hashes

Hashes for cerberus_monitor-2025.12.20190018.tar.gz
Algorithm Hash digest
SHA256 1ec53c9ffc3a5b6ae0faffea96d66f5cda6a17f083a8f3815efb59c85ba7b952
MD5 6e258f12d92f551b3040900630687bb3
BLAKE2b-256 c6dfd3025a182d64f6d0b48858a3d2ab3cee459631d86f1d0ca188e0ff28eb91

See more details on using hashes here.

File details

Details for the file cerberus_monitor-2025.12.20190018-py3-none-any.whl.

File metadata

File hashes

Hashes for cerberus_monitor-2025.12.20190018-py3-none-any.whl
Algorithm Hash digest
SHA256 d0b2dbac4bc174e4f41ba92a51bfd6ae8fa7bf410622cf7bdd9c306b234d6164
MD5 4bc8c3ac8508616e3bd51c7cbf3b788b
BLAKE2b-256 50dd6f541c126c14129a2acbfc2068bb70638b297de2a5c38794c9d5212aab5c

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