aquanauts / alogamous

A log anomaly detection framework
MIT License
1 stars 9 forks source link

Alogamous

PyPI - Version PyPI - Python Version


Table of Contents

Description

A Python program that can process log files and generate a daily report on anomalies in a set of logs.

Installation

pip install alogamous

Development

Setup

  1. Open a terminal

  2. Install hatch

    curl -Lo hatch-universal.pkg https://github.com/pypa/hatch/releases/latest/download/hatch-universal.pkg
    sudo installer -pkg ./hatch-universal.pkg -target /
  3. Restart your terminal

    Hatch modifies your system PATH variable, and this won't take effect unless you restart the terminal.

  4. Make sure hatch works

    hatch --version
  5. Configure hatch

    hatch config set dirs.env.virtual .venv
  6. Clone the repo

    git clone https://github.com/aquanauts/alogamous.git
    cd alogamous
  7. Install pre-commit hooks

    This will make sure certain checks are run when committing code.

    hatch run pre-commit:install
  8. Run the tests

    hatch test
  9. Setup your IDE

    1. Sign up for a free JetBrains Educational License or buy one

    2. Download Pycharm

      • Depending on your platform you may need to download and install Python
    3. Open Pycharm

    4. Click Open on the welcome screen and then select the file alogamous

Possible Errors

Permission Error

alogamous is distributed under the terms of the MIT license.