Command Line Utilities

nexxT-gui

usage: nexxT-gui [-h] [-a ACTIVE] [-l LOGFILE]
                 [-v {INTERNAL,DEBUG,INFO,WARN,ERROR,FATAL,CRITICAL}] [-q]
                 [-e EXECPYTHON] [-s EXECSCRIPT] [-t] [-u] [-np] [-sm]
                 [--qt QT] [-oi] [-g [GUI]]
                 [cfg]

nexxT console application

positional arguments:
  cfg                   .json configuration file of the project to be loaded.

optional arguments:
  -h, --help            show this help message and exit
  -a ACTIVE, --active ACTIVE
                        active application; default: first application in
                        config file.
  -l LOGFILE, --logfile LOGFILE
                        log file location (.db extension will use sqlite).
  -v {INTERNAL,DEBUG,INFO,WARN,ERROR,FATAL,CRITICAL}, --verbosity {INTERNAL,DEBUG,INFO,WARN,ERROR,FATAL,CRITICAL}
                        sets the log verbosity
  -q, --quiet           disble logging to stderr.
  -e EXECPYTHON, --execpython EXECPYTHON
                        execute arbitrary python code given in a string before
                        actually starting the application.
  -s EXECSCRIPT, --execscript EXECSCRIPT
                        execute arbitrary python code given in a file before
                        actually starting the application.
  -t, --single-threaded
                        force using only the main thread
  -u, --disable-unload-heuristic
                        disable unload heuristic for python modules.
  -np, --no-profiling   disable profiling support (only relevant for GUI).
  -sm, --save-memory    only meaningful with a given .json configuration and
                        an selected application (--active): discard all other
                        applications from the configuration and load only the
                        given one.
  --qt QT               Arguments passed to qt. Can be given multiple times.
                        For example, using the built-in vnc capability of qt
                        can be achieved by passing `--qt=-platform
                        --qt=vnc:5900:size=1024x768`
  -oi, --original-keyboard-interrupt-behaviour
                        Use this flag to restore the original keyboard
                        interrupt behaviour. By default, nexxT overrides a
                        signal handler instead using the KeybaordInterrupt
                        exception from python.
  -g [GUI], --gui [GUI]
                        If true, start nexxT with GUI otherwise use console
                        mode.

The following environment variables have effect on nexxT's behaviour:

NEXXT_VARIANT: 
    might be set to 'nonopt' to use the non-optimized variant

NEXXT_DISABLE_CIMPL: 
    If set to '1', the nexxT C extensions are replaced by native python modules.

NEXXT_CEXT_PATH:
    Can be set to override the default search path for the nexxT C extension.
    
NEXXT_BLACKLISTED_PACKAGES:
    List of additional python packages (seperated by a ';') which are not unloaded by nexxT when configuration files
    are switched. Use "*" or "__all__" to blacklist all modules.

nexxT-console

usage: nexxT-console [-h] [-a ACTIVE] [-l LOGFILE]
                     [-v {INTERNAL,DEBUG,INFO,WARN,ERROR,FATAL,CRITICAL}] [-q]
                     [-e EXECPYTHON] [-s EXECSCRIPT] [-t] [-u] [-np] [-sm]
                     [--qt QT] [-oi] [-g [GUI]]
                     [cfg]

nexxT console application

positional arguments:
  cfg                   .json configuration file of the project to be loaded.

optional arguments:
  -h, --help            show this help message and exit
  -a ACTIVE, --active ACTIVE
                        active application; default: first application in
                        config file.
  -l LOGFILE, --logfile LOGFILE
                        log file location (.db extension will use sqlite).
  -v {INTERNAL,DEBUG,INFO,WARN,ERROR,FATAL,CRITICAL}, --verbosity {INTERNAL,DEBUG,INFO,WARN,ERROR,FATAL,CRITICAL}
                        sets the log verbosity
  -q, --quiet           disble logging to stderr.
  -e EXECPYTHON, --execpython EXECPYTHON
                        execute arbitrary python code given in a string before
                        actually starting the application.
  -s EXECSCRIPT, --execscript EXECSCRIPT
                        execute arbitrary python code given in a file before
                        actually starting the application.
  -t, --single-threaded
                        force using only the main thread
  -u, --disable-unload-heuristic
                        disable unload heuristic for python modules.
  -np, --no-profiling   disable profiling support (only relevant for GUI).
  -sm, --save-memory    only meaningful with a given .json configuration and
                        an selected application (--active): discard all other
                        applications from the configuration and load only the
                        given one.
  --qt QT               Arguments passed to qt. Can be given multiple times.
                        For example, using the built-in vnc capability of qt
                        can be achieved by passing `--qt=-platform
                        --qt=vnc:5900:size=1024x768`
  -oi, --original-keyboard-interrupt-behaviour
                        Use this flag to restore the original keyboard
                        interrupt behaviour. By default, nexxT overrides a
                        signal handler instead using the KeybaordInterrupt
                        exception from python.
  -g [GUI], --gui [GUI]
                        If true, start nexxT with GUI otherwise use console
                        mode.

The following environment variables have effect on nexxT's behaviour:

NEXXT_VARIANT: 
    might be set to 'nonopt' to use the non-optimized variant

NEXXT_DISABLE_CIMPL: 
    If set to '1', the nexxT C extensions are replaced by native python modules.

NEXXT_CEXT_PATH:
    Can be set to override the default search path for the nexxT C extension.
    
NEXXT_BLACKLISTED_PACKAGES:
    List of additional python packages (seperated by a ';') which are not unloaded by nexxT when configuration files
    are switched. Use "*" or "__all__" to blacklist all modules.