Python implementation of the Lempel-Ziv and Huffman compression algorithms.
This project supports Python version 3.10+!
Build and fetch dependencies:
python setup.py
To run the program:
python main.py -h --help -a <algorithm> --algorithm=<algorithm> -o <output_file> --output_file=<output_file> -f <file> --file=<file> -m <method> --method=<method> <input>
Refer to the user manual for more info.
To run performance benchmarks:
python performance.py
To run static code analysis tool (pylint):
pylint src
To run unit tests:
pytest
To run unit tests in parallel:
pytest -n auto
To generate and view test coverage:
pytest
open docs/index.html
On Windows:
pytest
start docs/index.html