hazimp.main

The main entry point for the hazard impact tool.

Module Contents

Functions

timer(f)

A simple wrapper to time how long a function takes to run

start(config_list=None, config_file=None, cont_in=None)

Run the HazImp tool, based on the config info.

cli()

Command-line interface to hazimp package

Attributes

NUMVER

hazimp.main.timer(f)

A simple wrapper to time how long a function takes to run

hazimp.main.NUMVER
hazimp.main.start(config_list=None, config_file=None, cont_in=None)

Run the HazImp tool, based on the config info.

Parameters:
  • config_list – The configuration info, as a list.

  • config_file – The configuration info, as a file location.

  • cont_in – Only used in testing. A context instance.

Returns:

The config dictionary.

hazimp.main.cli()

Command-line interface to hazimp package