skbio.io.registry.IORegistry#

class skbio.io.registry.IORegistry[source]#

Create a registry of formats and implementations which map to classes.

Methods

add_format

Add a format to the registry.

create_format

Create new file formats.

get_reader

Locate the reader for a format and class.

get_sniffer

Locate the sniffer for a format.

get_writer

Locate the writer for a format and class.

list_read_formats

Return a list of available read formats for a given cls type.

list_write_formats

Return a list of available write formats for a given cls type.

read

Read a file as certain format into an object.

remove_format

Remove a format from the IORegistry.

sniff

Detect the format of a given file and suggest kwargs for reading.

write

Write an object as certain format into a file.

Special methods (inherited)

__eq__

Return self==value.

__ge__

Return self>=value.

__getstate__

Helper for pickle.

__gt__

Return self>value.

__hash__

Return hash(self).

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__str__

Return str(self).

Details