![]() ![]() Within each of the daily/hourly/weekly directories a "snapshot" directory will be created. Schedule.every().day.at('14:15').do(processNotebooks, notebookDirectory='monthly', days=) Simply move your notebook (*.ipynb) files into the relevant subdirectory and when the script is run they will be executed. ![]() The first time you run the script, it will create a skeleton directory structure, with subdirectories for hourly, daily and weekly notebooks. The code is available in this GitHub repository -clone or download it to a folder on your PC. Once I've set up the notebook to provide whatever stats I want, scheduling its execution on a weekly basis is now as simple as a drag-and-drop into the weekly subfolder. Each time a notebook is run, a snapshot is saved to a timestamped folder (along with any other outputs your notebook saves) giving you the ability to look back at past executions and to have a full audit of the analysis that has been done. Notebooks are arranged into subfolders for hourly, daily, weekly or monthly execution. NotebookScheduler is a simple Python script which uses Papermill to execute a directory of Jupyter Notebooks. ![]() A simple script to help schedule Jupyter Notebook execution and storing of the results using PapermillĬheck out this blog post for more details. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |