seq  4.0.0-pre3
Functions | Variables
cli.kmain Namespace Reference

Functions

def mytask (loop, evt, json_output=False, log_level=logging.INFO, pub_id=None)
 
def monitor_quit (quit_event)
 
def kmain (json_output=False, log_level=logging.INFO, log_file=None, pub_id=None)
 Sequencer Kernel entry function. More...
 

Variables

 logger = logging.getLogger(__name__)
 

Function Documentation

◆ kmain()

def cli.kmain.kmain (   json_output = False,
  log_level = logging.INFO,
  log_file = None,
  pub_id = None 
)

Sequencer Kernel entry function.

When executing seq kernel, seq.cli and click resolves into this function.

It creates a new myBobServer object which in turn creates a Socket Server and a seq shell subprocess.

Parameters

json_output str Reformat Json strings log_level str Minimum log level presented log_file str Logging file. Default: "$PWD/seq.log"

◆ monitor_quit()

def cli.kmain.monitor_quit (   quit_event)

◆ mytask()

def cli.kmain.mytask (   loop,
  evt,
  json_output = False,
  log_level = logging.INFO,
  pub_id = None 
)

Variable Documentation

◆ logger

cli.kmain.logger = logging.getLogger(__name__)