Average Command#

The Average command is the command that handles calculating the statistical average of the specified item.

Note

Only global variables and constants that are public are documented. Please see the source code for private variable/constant documentation.

warmac_average.AVG_FUNCS: Dict[str, Callable[[Sequence[int]], float]] = {'geometric': statistics.geometric_mean, 'harmonic': statistics.harmonic_mean, 'mean': statistics.mean, 'median': statistics.median, 'mode': statistics.mode}#

A dictionary that maps user input to its respective function.

warmac_average.CURR_TIME: datetime = datetime.datetime.now(datetime.timezone.utc)#

An ISO-8601 timestamp of the current time retrieved on execution.