get_formats

astropy.io.registry.get_formats(data_class=None, readwrite=None)

Get the list of registered I/O formats as a Table.

Parameters:
data_classclass, optional

Filter readers/writer to match data class (default = all classes).

readwritepython:str or python:None, optional

Search only for readers ("Read") or writers ("Write"). If None search for both. Default is None.

New in version 1.3.

Returns:
format_tableTable

Table of available I/O formats.