wolframclient.cli package

Submodules

wolframclient.cli.dispatch module

class wolframclient.cli.dispatch.DispatchCommand(argv=None, name=None)[source]

Bases: wolframclient.cli.utils.SimpleCommand

class_name = 'Command'
default_command = None
dependencies = ()
handle(attr=None)[source]
main()[source]
modules = ['wolframclient.cli.commands']
subcommand_args()[source]
subcommands()[source]
wolframclient.cli.dispatch.execute_from_command_line(argv=None, **opts)[source]

wolframclient.cli.utils module

class wolframclient.cli.utils.SimpleCommand(argv=None, name=None)[source]

Bases: object

add_arguments(parser)[source]
create_parser()[source]
dependencies = ()
handle(*args, **opts)[source]
help = None
main()[source]
print(value, ..., sep=' ', end='n', file=sys.stdout, flush=False)

Prints the values to a stream, or to sys.stdout by default. Optional keyword arguments: file: a file-like object (stream); defaults to the current sys.stdout. sep: string inserted between values, default a space. end: string appended after the last value, default a newline. flush: whether to forcibly flush the stream.

wolframclient.cli.utils.discover_with_convention(modules, import_name, walk=True)[source]

Module contents