server.get_ome_plugins

For each plugin.py file in server/plugins/* directory read attributes such as mimetypes or newsgroups of each class that is a subclass of OMEPlugin.

Attributes

here

plugins_dir

Functions

get_ome_plugins_from_path(...)

get_ome_plugins(...)

get_newsgroups_from_plugins(→ dict[str, str])

Return the content of the newsgroups attribute of all OMEPlugins.

Module Contents

server.get_ome_plugins.here
server.get_ome_plugins.plugins_dir
server.get_ome_plugins.get_ome_plugins_from_path(file_path: pathlib.Path) collections.abc.Iterator[type[server.plugins.ome_plugin.OMEPlugin]]
server.get_ome_plugins.get_ome_plugins() collections.abc.Iterator[type[server.plugins.ome_plugin.OMEPlugin]]
server.get_ome_plugins.get_newsgroups_from_plugins() dict[str, str]

Return the content of the newsgroups attribute of all OMEPlugins.