Skip to content

Python program that generates an encoding table using the Huffman coding algorithm and computes efficiency.

Notifications You must be signed in to change notification settings

Fang1217/huffman-encoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Huffman Encoder

Overview

The Huffman Encoder is a Python program designed to compress and decompress data using the Huffman coding algorithm. Huffman coding is a widely used method for lossless data compression that assigns shorter codes to more frequent characters, resulting in efficient encoding and decoding.

Features

  • Generate Huffman encoding table using keyword "CRYPT", "SKY" and first two consonants of input name using Huffman coding.
  • Easy to use Graphical User Interface (GUI).

Requirements

  • Python 3.x
  • Required libraries:
    • customtkinter
    • pandas
    • numpy

Installation

To use the Huffman Encoder, clone the repository to your local machine:

git clone https://github.com/Fang1217/huffman-encoder.git

Navigate to the project directory:

cd huffman-encoder

Install the required libraries:

pip install -r requirements.txt

Usage

Using the Graphical User Interface

python main.py

About

Python program that generates an encoding table using the Huffman coding algorithm and computes efficiency.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages