pyccel.commands.pyccel_wrap module

pyccel.commands.pyccel_wrap module#

File containing the pyccel wrap command line interface.

pyccel.commands.pyccel_wrap.pyccel_wrap(*, filename, language, output, **kwargs) None[source]View on GitHub#

Call the pyccel wrap pipeline.

Import and call the pyccel wrap pipeline.

Parameters:
  • filename (Path) – Name of the Python file to be translated.

  • language (str) – The target language Pyccel is translating to.

  • output (str) – Path to the working directory.

  • **kwargs (dict) – See execute_pyccel_wrap.

pyccel.commands.pyccel_wrap.setup_pyccel_wrap_parser(parser)[source]View on GitHub#

Add the pyccel wrap arguments to the parser.

Add the pyccel wrap arguments to the parser for command line arguments.

Parameters:

parser (argparse.ArgumentParser) – The parser to be modified.