run#

agvis.main.run(filename='', input_path='', verbose=20, host='localhost', port=8810, dev=False, socket_path=None, static=None, **kwargs)[source]#

Entry point to run AGVis.

Parameters
filenamestr, optional

file name (or pattern)

input_pathstr, optional

input search path

verboseint, 10 (DEBUG), 20 (INFO), 30 (WARNING), 40 (ERROR), 50 (CRITICAL)

Verbosity level. If config_logger is called prior to run, this option will be ignored.

kwargs

Other supported keyword arguments

clibool, optional

If is running from command-line. If True, returns exit code instead of System

Returns
System or exit_code

An instance of system (if cli == False) or an exit code otherwise..