stakk
Description
Register functions to a stack, each stack can be linked to modular utilities. The stack pattern is intended to facilitate a lower barrier for entry to configure command line interfaces, benchmark tasks, and interact with threaded agents.
- stakk.cli(stack_id: str, desc: str = None)[source]
init cli and register to a stack
- Parameters:
stack_id – stack identifier to register to CLI
desc – description of the CLI
- stakk.register(stack_id: str)[source]
register a function to a stack with a stack name
- Parameters:
stack_id – stack identifier to register function with
stakk
The stack instance is a global instance of the meta_handler.Stack class. This instance is used to create stacks for functions and utilities to link.
benchy
The benchy instance is a global instance of the bench_handler.Benchy class. This instance is used as a decorator to collect benchmarking stats for decorated functions.