def known_data_formats() -> list[str]: """Names of the registered data io plugins. Returns ------- list[str] List of registered data io plugins. """ return registered_plugins(plugin_registry=__PluginRegistry.data_io)
def known_project_formats() -> list[str]: """Names of the registered project io plugins. Returns ------- list[str] List of registered project io plugins. """ return registered_plugins(plugin_registry=__PluginRegistry.project_io)
def known_model_names() -> list[str]: """Names of the registered models. Returns ------- list[str] List of registered models. """ return registered_plugins(__PluginRegistry.model)
def test_registered_plugins(): """List of registered names""" result = [ "sdt", "yml", "decay", "mock_plugin", "imported_plugin", ] assert registered_plugins(mock_registry_data_io) == sorted(result)
def test_registered_plugins(): """List of registered names""" result = [ "sdt", "yml", "kinetic-image", "mock_plugin", "imported_plugin", ] assert registered_plugins(mock_registry_data_io) == result
def known_project_formats(full_names: bool = False) -> list[str]: """Names of the registered project io plugins. Parameters ---------- full_names : bool Whether to display the full names the plugins are registered under as well. Returns ------- list[str] List of registered project io plugins. """ return registered_plugins(plugin_registry=__PluginRegistry.project_io, full_names=full_names)
def known_megacomplex_names(full_names: bool = False) -> list[str]: """Names of the registered megacomplexs. Parameters ---------- full_names : bool Whether to display the full names the plugins are registered under as well. Returns ------- list[str] List of registered megacomplexs. """ return registered_plugins(__PluginRegistry.megacomplex, full_names=full_names)