Skip to main content
`Ctrl`+`K`

# Reference/API

## astropy.io.registry Package

Unified I/O Registry.

### Functions

`delay_doc_updates`(cls) | Contextmanager to disable documentation updates when registering reader and writer.
`get_formats`([data_class, readwrite]) | Get the list of registered I/O formats as a `Table`.
`get_reader`(data_format, data_class) | Get reader for `data_format`.
`get_writer`(data_format, data_class) | Get writer for `data_format`.
`identify_format`(origin, data_class_required, ...) | Loop through identifiers to see which formats match.
`read`(cls, *args[, format, cache]) | Read in data.
`register_identifier`(data_format, data_class, ...) | Associate an identifier function with a specific data type.
`register_reader`(data_format, data_class, ...) | Register a reader function.
`register_writer`(data_format, data_class, ...) | Register a table writer function.
`unregister_identifier`(data_format, data_class) | Unregister an identifier function.
`unregister_reader`(data_format, data_class) | Unregister a reader function.
`unregister_writer`(data_format, data_class) | Unregister a writer function.
`write`(data, *args[, format]) | Write out data.

### Classes

`UnifiedIORegistry`() | Unified I/O Registry.
`UnifiedInputRegistry`() | Read-only Unified Registry.
`UnifiedOutputRegistry`() | Write-only Registry.
`UnifiedReadWrite`(instance, cls, method_name) | Base class for the worker object used in unified read() or write() methods.
`UnifiedReadWriteMethod`(readwritecls, /) | Descriptor class for creating read() and write() methods in unified I/O.
`IORegistryError` | Custom error for registry clashes.

### Class Inheritance Diagram