pytak.CLITool
- class pytak.CLITool(config: ConfigParser, tx_queue: Queue | Queue | None = None, rx_queue: Queue | Queue | None = None)
Wrapper Object for CLITools.
- __init__(config: ConfigParser, tx_queue: Queue | Queue | None = None, rx_queue: Queue | Queue | None = None) None
Initialize CLITool instance.
Methods
__init__(config[, tx_queue, rx_queue])Initialize CLITool instance.
add_task(task)Add the given task to our coroutine task list.
add_tasks(tasks)Add the given list or set of tasks to our couroutine task list.
create_workers(i_config)Create and run queue workers with specified config parameters.
hello_event()Send a 'hello world' style event to the Queue.
run()Run this Thread and its associated coroutine tasks.
run_task(task)Run the given coroutine task.
run_tasks([tasks])Run the given list or set of couroutine tasks.
setup()Set up CLITool.
Attributes
config