<jupyter_start><jupyter_text>Demonstration of Papermill to Execute Notebooks If we were to perform "Cell" --> "Run All", then let's say there was an error in the first task, the rest of the downstream tasks (code cells) will still get executed.  To prevent this, it was suggested to raise SystemExit exception.  Reference [documentation](https://docs.python.org/3/library/exceptions.htmlSystemExit)<jupyter_code>from getpass import getpass
import papermill as pm
RECIPIENT_EMAIL = input("Enter your recipient's email:")
GMAIL_PWD = getpass("<PASSWORD>")
pm.execute_notebook(
    'Extract.ipynb',
    'output/Extract.ipynb'
);
pm.execute_notebook(
    'Transform.ipynb',
    'output/Transform.ipynb'
);
pm.execute_notebook(
    'Load.ipynb',
    'output/Load.ipynb',
    parameters=dict(RECIPIENT_EMAIL=RECIPIENT_EMAIL,
                   GMAIL_PWD=<PASSWORD>
               )
);<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.10682819383259912, 'fraction_numerical': 0.0011013215859030838, 'mean_word_length': 4.378698224852071, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 8, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '235454', 'license': 'MIT', 'n_tokens_mistral': 302, 'n_tokens_neox': 295, 'n_words': 75, 'path': 'jupyter_notebooks/papermill/etl/Papermill_Orchestrator.ipynb', 'repo_name': 'manual123/Nacho-Jupyter-Notebooks', 'size': '922'}