Skip to content

mlt-melt/Workmate-python-test-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Log analyzer (test task)

Usage

  • Analyze provided examples:
python main.py --file storage/example1.log storage/example2.log --report average
  • Filter by date (optional):
python main.py --file storage/example1.log --report average --date 2025-06-22

Notes

  • Only standard library is used for logic and CLI (argparse). For pretty output, if the optional "tabulate" package is installed, it will be used automatically; otherwise a small built‑in table renderer is used.
  • Tests are written with pytest. To run tests locally:
pip install -r requirements-dev.txt
pytest -q --cov=log_analyzer

Screenshot

  • Example executions:

example runs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages