def __init__(self, level=zlib.Z_DEFAULT_COMPRESSION):
self._compressor = zlib.compressobj(level)<EOL>
Initialize zlib compressor.

        Parameters
        ----------
        level : int
            The compression level (0 to 9)