Text compressor developed as a part of Data Structures & Algorithms Project Course at University of Helsinki. Both, Huffman and Lempel-Ziv-Welch algorithms, have been implemented into the compressor.
See the Implementation document for performance results.
- Weekly report #1
- Weekly report #2
- Weekly report #3
- Weekly report #4
- Weekly report #5
- Weekly report #6
You need to have python3 and poetry installed on your system
- Install dependencies:
poetry install
- Launch the program:
poetry run invoke start
- Move your desired text files into the data folder under /src
- Follow the prompts from the program to compress it, using either Huffman or LZW!
- Your compressed file should now be a .bin file in the same data folder
- Follow the prompts from the program to decompress a .bin file
- Your decompressed file should now be in the data folder with the name: {file_name}_decompressed
Check codestyle:
poetry run invoke codestyle