Skip to content

Python class that compresses and decompresses a text file using Huffman Encoding algorithm.

Notifications You must be signed in to change notification settings

noah415/Huffman_Compressor

Repository files navigation

Huffman_Compressor

This is a Python class that uses a Huffman Tree algorithm to compress and decompress a text file. I did not include all of the test .txt files in this repository (so unittests will throw a FileNotFound Error); however, for example of the output files from the compression and decompression methods you can look at the file1.txt files I put in this repository.

What I used

  • OOP
  • Binary Tree
  • Huffman Encoding Algorithm
  • recursion
  • Priority Queue

About

Python class that compresses and decompresses a text file using Huffman Encoding algorithm.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages