Python implementation of the Lempel-Ziv and Huffman compression algorithms.
This project supports Python version 3.10+!
Build and fetch dependencies:
python setup.pyTo 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.pyTo run static code analysis tool (pylint):
pylint srcTo run unit tests:
pytestTo run unit tests in parallel:
pytest -n autoTo generate and view test coverage:
pytest
open docs/index.htmlOn Windows:
pytest
start docs/index.html