seq  3.0.0
Functions | Variables
cli.kmain Namespace Reference

Functions

def mytask (loop, evt, json_output=False, log_level=logging.INFO)
 
def monitor_quit (quit_event)
 
def kmain (json_output=False, log_level=logging.INFO, log_file=None)
 

Variables

 logger = logging.getLogger(__name__)
 

Function Documentation

◆ kmain()

def cli.kmain.kmain (   json_output = False,
  log_level = logging.INFO,
  log_file = 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 
)

Variable Documentation

◆ logger

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