wolframclient.cli.commands package

Submodules

wolframclient.cli.commands.benchmark module

class wolframclient.cli.commands.benchmark.Command(argv=None, name=None)[source]

Bases: SimpleCommand

add_arguments(parser)[source]
col_size = 8
complexity = [1, 2, 5, 10, 100, 1000]
expression_handler(complexity)[source]
formatted_time(function, *args, **opts)[source]
handle(profile, **opts)[source]
repetitions = 10
report()[source]
stream_generators(path)[source]
table_divider(length)[source]
table_line(*iterable)[source]
title_size = 14
wolframclient.cli.commands.benchmark.repeat(el, n=1)[source]

wolframclient.cli.commands.refactor module

class wolframclient.cli.commands.refactor.Command(argv=None, name=None)[source]

Bases: SimpleCommand

handle(**opts)[source]
modules = ['wolframclient']
run(pre, *args)[source]
wolframclient.cli.commands.refactor.wait_for_process(processes, raise_errors=True, show_output=False)[source]

wolframclient.cli.commands.setup module

class wolframclient.cli.commands.setup.Command(argv=None, name=None)[source]

Bases: SimpleCommand

Run test suites from the tests modules. A list of patterns can be provided to specify the tests to run.

dependencies = ('pytz', 'aiohttp', 'numpy', 'oauthlib', 'pandas', 'pillow', 'pyzmq', 'requests', 'unittest-xml-reporting', 'certifi>=2017.4.17')
wolframclient.cli.commands.setup.dependencies()[source]

wolframclient.cli.commands.start_externalevaluate module

class wolframclient.cli.commands.start_externalevaluate.Command(argv=None, name=None)[source]

Bases: SimpleCommand

add_arguments(parser)[source]
dependencies = ()
handle(port=None, installpath=None, kernelversion=None, **opts)[source]

wolframclient.cli.commands.test module

class wolframclient.cli.commands.test.Command(argv=None, name=None)[source]

Bases: SimpleCommand

Run test suites from the tests modules. A list of patterns can be provided to specify the tests to run.

add_arguments(parser)[source]
handle(*args, **opts)[source]
modules = ['wolframclient.tests']

Module contents