Server Init

Some general functions used by the iceprod server

iceprod.server.find_module_recursive(name, path=None)[source]

Recursively search for submodule. Submodules must be separated with a ‘.’

iceprod.server.listmodules(package_name='')[source]

List modules in a package or directory

iceprod.server.run_module(name, *args, **kwargs)[source]

Import and start the module

iceprod.server.salt(length=2)[source]

Returns a string of random letters

class iceprod.server.KwargConfig[source]

A way to validate kwargs passed in to a class

validate(kwargs)[source]
iceprod.server.get_pkg_binary(package, binary)[source]

Try finding the binary path based on the python package