Skip to content

celeritas17/compression

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

##A compression algorithm

Clone the repository and use the python file main.py to compress strings, or find the uncompressed version of a string compressed with the algorithm.

Usage:

To Compress:
python main.py 1 <string to compress>

To decompress:
python main.py 0 <string to decompress>

To run the tests defined in test_compression.txt:

python -m doctest -v test_compression.txt

About

An example of a string compression algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages