freezer.utils.compress module¶
- class freezer.utils.compress.BaseCompressor(compression_algo)¶
Bases:
object
Base class for compress/decompress activities.
- class freezer.utils.compress.Compressor(compression_algo)¶
Bases:
freezer.utils.compress.BaseCompressor
Compress chucks of data.
- MAX_COMPRESS_LEVEL = 9¶
- compress(data)¶
- create_compressobj(compression_algo)¶
- flush()¶
- class freezer.utils.compress.Decompressor(compression_algo)¶
Bases:
freezer.utils.compress.BaseCompressor
Decompress chucks of data.
- create_decompressobj(compression_algo)¶
- decompress(data)¶
- flush()¶
- freezer.utils.compress.get_compression_algo(compression_algo)¶
- freezer.utils.compress.one_shot_compress(compression_algo, data)¶
- freezer.utils.compress.one_shot_decompress(compression_algo, data)¶