Bases: object
Generic detector for an input sequence. Call all registered detectors until one answers
Try to detect the format of the input file :params filename: file to detect :type filename: str :return: tuple (format,mimetype)
Try to detect the format of the input file based on extension :params filename: file to detect :type filename: str :return: format