The freezer.utils.compress Module

The 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)
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

freezer 6.0.1.dev5