Skip to content

Jaxkr/PiPress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipress

Compression of files in terms of Pi.

This is quite possibly the worst file storage algorithm ever made. Requires MessagePack and Python3.

Powerful features:

  • Nothing.

Limitations:

  • Unbelievably slow. It took about 3 minutes to compress a 50kb image.
  • Usually makes files 3 to 5 times larger.
  • You need the 1 GB file pi-billion.txt in order for this to work.

Usage

First, download pi-billion.txt and put it in the same folder as pipress.py. Then, cd into your pipress directory and run:
python3 pipress.py yourinputfile.txt

This outputs yourinputfile.txt.pipress

To decompress simply run the following:
python3 decompress.py yourinputfile.txt.pipress

This will recreate the original file. This works with any binary file. Images, zip archives, you name it! Enjoy the future of compression.

About

File compression in terms of Pi.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages