class_docstr: A wrapper around a compressor file object.
  
  Attributes
  ----------
  obj: a file-like object
      The object must implement the buffer interface and will be used
      internally to compress/decompress the data.
  prefix: bytestring
      A bytestring corresponding to the magic number that identifies the
      file format associated to the compressor.
  extension: str
      The file extension used to automatically select this compressor during
      a dump to a file.
class_docstr_tok: ["A","wrapper","around","a","compressor","file","object",".","Attributes","--","--","--","--","--","obj",":","a","file-like","object","The","object","must","implement","the","buffer","interface","and","will","be","used","internally","to","compress\/decompress","the","data",".","prefix",":","bytestring","A","bytestring","corresponding","to","the","magic","number","that","identifies","the","file","format","associated","to","the","compressor",".","extension",":","str","The","file","extension","used","to","automatically","select","this","compressor","during","a","dump","to","a","file","."]
code: def __init__(self, obj, prefix=b"", extension=""):
      self.fileobj_factory = obj
      self.prefix = prefix
      self.extension = extension
  
imports: import io
  import zlib
  from joblib.backports import LooseVersion
label_desc: Use image node_id 1 to create a new CompressorWrapper object  with example: obj = CompressorWrapper(obj, prefix, extension)