def name_to_code(name): """ name_to_code(name) Return the compressor code of a compressor name. Parameters ---------- name : str The compressor name. Returns ------- out : int The compressor code. """ return _ext.name_to_code(name)