cmd Package

cmd Package

fastr.utils.cmd.find_commands()[source]
fastr.utils.cmd.get_command_module(command)[source]
fastr.utils.cmd.main()[source]
fastr.utils.cmd.print_help(commands=None)[source]

cat Module

fastr.utils.cmd.cat.fastr_cat(infile, path)[source]
fastr.utils.cmd.cat.get_parser()[source]
fastr.utils.cmd.cat.main()[source]

Print information from a job file

dump Module

fastr.utils.cmd.dump.create_zip(directory, output_file)[source]
fastr.utils.cmd.dump.get_parser()[source]
fastr.utils.cmd.dump.main()[source]

Dump the contents of a network run tempdir into a zip for remote assistance

execute Module

fastr.utils.cmd.execute.get_parser()[source]
fastr.utils.cmd.execute.main()[source]

Execute a fastr job file

extract_argparse Module

fastr.utils.cmd.extract_argparse.cardinality_from_nargs(value)[source]
fastr.utils.cmd.extract_argparse.datatype_from_type(type_, metavar)[source]
fastr.utils.cmd.extract_argparse.extract_argparser(filepath)[source]
fastr.utils.cmd.extract_argparse.find_argparser(entry, basename='/home/docs/checkouts/readthedocs.org/user_builds/fastr/envs/3.0.0/bin/sphinx-build')[source]
fastr.utils.cmd.extract_argparse.get_parser()[source]
fastr.utils.cmd.extract_argparse.main()[source]

Create a stub for a Tool based on a python script using argparse

provenance Module

fastr.utils.cmd.provenance.get_parser()[source]
fastr.utils.cmd.provenance.get_prov_document(result)[source]
fastr.utils.cmd.provenance.main()[source]

Get PROV information from the result pickle.

pylint Module

fastr.utils.cmd.pylint.get_parser()[source]
fastr.utils.cmd.pylint.main()[source]

Dump the contents of a network run tempdir into a zip for remote assistance

fastr.utils.cmd.pylint.run_pylint(out_file, pylint_args)[source]

run Module

fastr.utils.cmd.run.create_network_parser(network)[source]
fastr.utils.cmd.run.get_parser()[source]
fastr.utils.cmd.run.main()[source]

Run a Network from the commandline

sink Module

fastr.utils.cmd.sink.get_parser()[source]
fastr.utils.cmd.sink.main()[source]

Command line access to the IOPlugin sink

fastr.utils.cmd.sink.sink()[source]

source Module

fastr.utils.cmd.source.get_parser()[source]
fastr.utils.cmd.source.main()[source]

Command line access to the IOPlugin source

fastr.utils.cmd.source.source()[source]

test Module

fastr.utils.cmd.test.check_network(args)[source]
fastr.utils.cmd.test.check_networks(args)[source]
fastr.utils.cmd.test.check_tool(args)[source]
fastr.utils.cmd.test.check_tools(args)[source]
fastr.utils.cmd.test.directory(path)[source]

Make sure the path is a valid directory for argparse

fastr.utils.cmd.test.get_parser()[source]
fastr.utils.cmd.test.main()[source]

Run the tests of a tool to verify the proper function

fastr.utils.cmd.test.tool(value)[source]

Make sure the value is a correct tool for argparse or reference directory

trace Module

fastr.utils.cmd.trace.get_parser()[source]
fastr.utils.cmd.trace.main()[source]

Trace samples/sinks from a run

fastr.utils.cmd.trace.print_job_result(job_file)[source]
fastr.utils.cmd.trace.print_sample_sink(sink_data, dirname, sample_sink_tuples, verbose)[source]
fastr.utils.cmd.trace.print_samples(sink_data, sample_ids, verbose)[source]
fastr.utils.cmd.trace.print_sinks(sink_data, sink_ids, verbose)[source]
fastr.utils.cmd.trace.read_sink_data(infile)[source]
fastr.utils.cmd.trace.switch_sample_sink(sink_data)[source]

upgrade Module

fastr.utils.cmd.upgrade.find_tool(toolspec)[source]
fastr.utils.cmd.upgrade.get_parser()[source]
fastr.utils.cmd.upgrade.main()[source]

Print information from a job file

fastr.utils.cmd.upgrade.upgrade(infile, outfile)[source]

verify Module

fastr.utils.cmd.verify.get_parser()[source]
fastr.utils.cmd.verify.main()[source]

Verify fastr resources, at the moment only tool definitions are supported.

webapp Module

fastr.utils.cmd.webapp.get_parser()[source]
fastr.utils.cmd.webapp.main()[source]

Start the fastr webapp and open in a new browser tab

fastr.utils.cmd.webapp.open_url(url)[source]