skbio.io.registry.IORegistry#
- class skbio.io.registry.IORegistry[source]#
Create a registry of formats and implementations which map to classes.
Built-ins
__eq__
(value, /)Return self==value.
__ge__
(value, /)Return self>=value.
__getstate__
(/)Helper for pickle.
__gt__
(value, /)Return self>value.
__hash__
(/)Return hash(self).
__le__
(value, /)Return self<=value.
__lt__
(value, /)Return self<value.
__ne__
(value, /)Return self!=value.
__str__
(/)Return str(self).
Methods
add_format
(format_object)Add a format to the registry.
create_format
(*args, **kwargs)Create new file formats.
get_reader
(format_name, cls)Locate the reader for a format and class.
get_sniffer
(format_name)Locate the sniffer for a format.
get_writer
(format_name, cls)Locate the writer for a format and class.
list_read_formats
(cls)Return a list of available read formats for a given cls type.
list_write_formats
(cls)Return a list of available write formats for a given cls type.
Monkey-patch
read
andwrite
methods onto registered classes.read
(file[, format, into, verify])Read a file as certain format into an object.
sniff
(file, **kwargs)Detect the format of a given file and suggest kwargs for reading.
write
(obj, format, into, **kwargs)Write an object as certain format into a file.