Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

!!! NOT intended for production. NO warranty for any data lost. !!!

g_ex_comp

About

This is a learning exercise for me. This is an experimental lossless compression algorithm for text-based files. Compression is done by creating a map / dictionary and replacing the main text accordingly.

How to use

Call the file with python3 from console.

python3 g_ex_comp.py

Available parameters:

  • c - compression mode; following parameter must be the file to compress; compression type must be specified (n, f, ff)
  • d - decompression mode; following parameter must be the file to decompress
  • o - output file; following parameter must be the file to write
  • n - normal compression mode; fullstring compression
  • f - fast compression mode; word-phrase based compression
  • ff - very fast compression mode; single-word based compression
  • q - quiet; suppress informative output

!!! NOT intended for production. NO warranty for any data lost. !!!

About

Learning exercise. Experimental compression algorithm. Not intended for production.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages