improc.encoding package

Submodules

improc.encoding.huffman module

class improc.encoding.huffman.HeapNode(char, freq)[source]

Bases: object

class improc.encoding.huffman.HuffmanCoding(path)[source]

Bases: object

compress()[source]
decode_text(encoded_text)[source]
decompress(input_path)[source]
get_byte_array(padded_encoded_text)[source]
get_encoded_text(text)[source]
make_codes()[source]
make_codes_helper(root, current_code)[source]
make_frequency_dict(text)[source]
make_heap(frequency)[source]
merge_nodes()[source]
pad_encoded_text(encoded_text)[source]
remove_padding(padded_encoded_text)[source]

Module contents