rasahub package

Module contents

rasahub.create_argparser()[source]

Creates the argumentparser for Rasahub

Returns:
ArgumentParser
rasahub.initialize_middleware(configpath='config.yml')[source]

Initialize the middleware given a configuration file

Args:
configpath: Path and name of config file
Returns:
messagehandler
rasahub.main()[source]

The main function initializes plugins and handles messages. It starts the messagehandler, registers all plugins and starts the threads. When a Keyboard interruption is registered it starts closing all threads.