skbio.io.registry.IORegistry.get_reader#

IORegistry.get_reader(format_name, cls)[source]#

Locate the reader for a format and class.

Parameters:
format_namestr

The name of the format to lookup.

clstype or None

The class which the reader will return an instance of. If cls is None, the reader will return a generator. Default is None.

Returns:
function or None

The reader associated with format_name and cls