wolframclient.cli.commands package

Submodules

wolframclient.cli.commands.benchmark module

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

Bases: wolframclient.cli.utils.SimpleCommand

add_arguments(parser)[source]
col_size = 8
complexity = [1, 2, 5, 10, 100, 1000]
complexity_handler(complexity)[source]
export(**opts)
formatted_time(*args, **opts)[source]
handle(profile, **opts)[source]
repetitions = 10
report()[source]
table_divider(length)[source]
table_line(*iterable)[source]
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: wolframclient.cli.utils.SimpleCommand

dependencies = (('isort', '4.3.20'), ('autoflake', '1.3'), ('black', '19.3b0'))
handle(**opts)[source]
modules = ['wolframclient']
run(path, *args)[source]

wolframclient.cli.commands.start_externalevaluate module

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

Bases: wolframclient.cli.utils.SimpleCommand

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

wolframclient.cli.commands.test module

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

Bases: wolframclient.cli.utils.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]
dependencies = (('pytz', '2018.6'), ('numpy', '1.15.3'), ('pillow', '5.3.0'), ('requests', '2.20.0'), ('oauthlib', '2.1.0'), ('pyzmq', '17.1.2'), ('pandas', '0.23.4'), ('unittest-xml-reporting', None), ('aiohttp', '3.4.4'))
handle(*args, **opts)[source]
modules = ['wolframclient.tests']
wolframclient.cli.commands.test.dependencies()[source]

Module contents