joblib.register_compressor

joblib.register_compressor(compressor_name, compressor, force=False)

Register a new compressor.

Parameters:
compressor_name: str.

The name of the compressor.

compressor: CompressorWrapper

An instance of a ‘CompressorWrapper’.