kiel.compression.gzip

kiel.compression.gzip.compress(data)[source]

Compresses a given bit of data via the gzip stdlib module.

Note

This assumes the given data is a byte string, already decoded.

kiel.compression.gzip.decompress(data)[source]

Decompresses given data via the gzip module.

Decoding is left as an exercise for the client code.