I would love to use PPMd compression (https://en.wikipedia.org/wiki/Prediction_by_partial_matching) in a Python script that saves log files (since PPMD is amazing at compressing text/log files).
However, I can't seem to find any library that implements this. I have found a gzip library, but this is slower and worse than PPMd for my situation.
If there is no library for PPMd compression, how would I go about implementing it?