get_loaders_by_extension

specutils.io.registers.get_loaders_by_extension(extension)[source]

Retrieve a list of loader labels associated with a given extension.

Parameters:
extensionstr

The extension for which associated loaders will be matched against.

Returns:
loaderslist

A list of loader names that are associated with the extension.