noc.core.script.loader

Module Contents

class noc.core.script.loader.ScriptLoader

Bases: noc.core.loader.base.BaseLoader

name = script
rx_requires
protected_names
get_script(self, name)

Load script and return BaseScript instance. Returns None when no script found or loading error occured

reload(self)

Reset script cache and release all modules

is_valid_name(self, name)
find_scripts(self)

Scan all available scripts

iter_scripts(self)

Returns all available script names

has_script(self, name)

Check script is exists

noc.core.script.loader.loader