gnomish_army_knife.runtime package#
Submodules#
gnomish_army_knife.runtime.task module#
A module implementing a common runtime task base.
- class gnomish_army_knife.runtime.task.GakRuntimeTask(name: str, average_depth: int = 10, metrics: PeriodicTaskMetrics = None, period_s: float = 1.0, env: ChannelEnvironment = None, period_controls: dict[str, int | float | bool | dict[str, int | float | bool]] | str = 'period', markdown: str = None, config: dict[str, str | int | float | bool | None | dict[str, str | int | float | bool | None] | list[str | int | float | bool | None]] = None)[source]#
Bases:
ArbiterTaskA class implementing a runtime environment for package tasks.
- auto_finalize = True#
- event_count: Uint32Primitive#
- runtime: GakRuntime#
Module contents#
A module implementing this package’s runtime environment.
- class gnomish_army_knife.runtime.GakRuntime(stack: ExitStack, args: Namespace)[source]#
Bases:
ChannelEnvironmentMixin,LoggerMixinA class implementing a runtime environment interface.
- static cli_args(parser: ArgumentParser) None[source]#
Add command-line argumments related to the runtime environment.
- property combat_logs: Iterator[Path]#
Iterate over combat logs found.
- static create(args: Namespace) Iterator[GakRuntime][source]#
Create a runtime instance as a context.
- property retail: Path#
Get the root path to the retail WoW installation.