@click.command(context_settings=dict(help_option_names=['<STR_LIT>', '<STR_LIT>']))<EOL>@click.argument('<STR_LIT>')<EOL>@click.argument('<STR_LIT>')<EOL>@click.option(<EOL>'<STR_LIT>', '<STR_LIT>', nargs=<NUM_LIT:2>, multiple=True, help='<STR_LIT>'<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>', '<STR_LIT>', nargs=<NUM_LIT:2>, multiple=True, help='<STR_LIT>'<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>', '<STR_LIT>', multiple=True, help='<STR_LIT>'<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>', '<STR_LIT>', multiple=True, help='<STR_LIT>'<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>', '<STR_LIT>', multiple=True, help='<STR_LIT>'<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>',<EOL>is_flag=True,<EOL>default=False,<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>',<EOL>is_flag=True,<EOL>default=False,<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>',<EOL>is_flag=True,<EOL>default=False,<EOL>help=(<EOL>"<STR_LIT>"<EOL>"<STR_LIT>"<EOL>),<EOL>)<EOL>@click.option('<STR_LIT>', help='<STR_LIT>')<EOL>@click.option(<EOL>'<STR_LIT>',<EOL>default=False,<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.option('<STR_LIT>', '<STR_LIT>', help='<STR_LIT>')<EOL>@click.option('<STR_LIT>', default=None, help='<STR_LIT>')<EOL>@click.option(<EOL>'<STR_LIT>', default=None, help="<STR_LIT>"<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>',<EOL>default=False,<EOL>help="<STR_LIT>",<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>',<EOL>type=click.Choice(['<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>', '<STR_LIT>']),<EOL>default='<STR_LIT>',<EOL>help='<STR_LIT>',<EOL>)<EOL>@click.option(<EOL>'<STR_LIT>', type=int, default=<NUM_LIT>, help="<STR_LIT>"<EOL>)<EOL>@click.option('<STR_LIT>', default=False, help="<STR_LIT>")<EOL>@click.option(<EOL>'<STR_LIT>',<EOL>is_flag=True,<EOL>callback=print_papermill_version,<EOL>expose_value=False,<EOL>is_eager=True,<EOL>help='<STR_LIT>',<EOL>)<EOL>def papermill(<EOL>notebook_path,<EOL>output_path,<EOL>parameters,<EOL>parameters_raw,<EOL>parameters_file,<EOL>parameters_yaml,<EOL>parameters_base64,<EOL>inject_input_path,<EOL>inject_output_path,<EOL>inject_paths,<EOL>engine,<EOL>prepare_only,<EOL>kernel,<EOL>cwd,<EOL>progress_bar,<EOL>log_output,<EOL>log_level,<EOL>start_timeout,<EOL>report_mode,<EOL>):
logging.basicConfig(level=log_level, format="<STR_LIT>")<EOL>if progress_bar is None:<EOL><INDENT>progress_bar = not log_output<EOL><DEDENT>parameters_final = {}<EOL>if inject_input_path or inject_paths:<EOL><INDENT>parameters_final['<STR_LIT>'] = notebook_path<EOL><DEDENT>if inject_output_path or inject_paths:<EOL><INDENT>parameters_final['<STR_LIT>'] = output_path<EOL><DEDENT>for params in parameters_base64 or []:<EOL><INDENT>parameters_final.update(yaml.load(base64.b64decode(params)))<EOL><DEDENT>for files in parameters_file or []:<EOL><INDENT>parameters_final.update(read_yaml_file(files))<EOL><DEDENT>for params in parameters_yaml or []:<EOL><INDENT>parameters_final.update(yaml.load(params))<EOL><DEDENT>for name, value in parameters or []:<EOL><INDENT>parameters_final[name] = _resolve_type(value)<EOL><DEDENT>for name, value in parameters_raw or []:<EOL><INDENT>parameters_final[name] = value<EOL><DEDENT>execute_notebook(<EOL>notebook_path,<EOL>output_path,<EOL>parameters_final,<EOL>engine_name=engine,<EOL>prepare_only=prepare_only,<EOL>kernel_name=kernel,<EOL>progress_bar=progress_bar,<EOL>log_output=log_output,<EOL>start_timeout=start_timeout,<EOL>report_mode=report_mode,<EOL>cwd=cwd,<EOL>)<EOL>
This utility executes a single notebook on a container.

    Papermill takes a source notebook, applies parameters to the source
    notebook, executes the notebook with the specified kernel, and saves the
    output in the destination notebook.