papermill
papermill copied to clipboard
Leave notebook running after execution
I would like to run my notebook using papermill and then be able to open it with all variables still in memory and keep using it. Even when passing an explicit  kernel_name, they output notebook is not running when I open it.
Is there a way to leave the notebook kernel running?
No there's not an option for that today. You'd have to extend and modify https://github.com/nteract/papermill/blob/master/papermill/clientwrap.py#L36, then register it as a new engine. Papermill has some stronger opinions than the underlying tools it uses, like nbclient, which comes with some restrictions like this.