fastgplearn.cli package

Submodules

fastgplearn.cli.cc_numpy module

class fastgplearn.cli.cc_numpy.CLICommand

Bases: object

Compile pyx or c++ code.

Example

$ fastgplearn cc_numpy

static add_arguments(parser)
static run(args, parser)

fastgplearn.cli.cc_torch module

class fastgplearn.cli.cc_torch.CLICommand

Bases: object

Compile pyx or c++ code.

Example

$ fastgplearn cc_torch

static add_arguments(parser)
static run(args, parser)

fastgplearn.cli.main module

exception fastgplearn.cli.main.CLIError

Bases: Exception

Error for CLI commands.

A subcommand may raise this. The message will be forwarded to the error() method of the argument args.

class fastgplearn.cli.main.Formatter(prog, indent_increment=2, max_help_position=24, width=None)

Bases: argparse.HelpFormatter

Improved help formatter.

fastgplearn.cli.main.main(prog='fastgplearn', description='fastgplearn command line tool.', args=None)