{"action":"created","issue":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/597","repository_url":"https://api.github.com/repos/jupyter/nbconvert","labels_url":"https://api.github.com/repos/jupyter/nbconvert/issues/597/labels{/name}","comments_url":"https://api.github.com/repos/jupyter/nbconvert/issues/597/comments","events_url":"https://api.github.com/repos/jupyter/nbconvert/issues/597/events","html_url":"https://github.com/jupyter/nbconvert/issues/597","id":231743566,"number":597,"title":"Optionally share a single kernel when converting multiple notebooks","user":{"login":"ivanov","id":118211,"avatar_url":"https://avatars0.githubusercontent.com/u/118211?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanov","html_url":"https://github.com/ivanov","followers_url":"https://api.github.com/users/ivanov/followers","following_url":"https://api.github.com/users/ivanov/following{/other_user}","gists_url":"https://api.github.com/users/ivanov/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanov/subscriptions","organizations_url":"https://api.github.com/users/ivanov/orgs","repos_url":"https://api.github.com/users/ivanov/repos","events_url":"https://api.github.com/users/ivanov/events{/privacy}","received_events_url":"https://api.github.com/users/ivanov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-26T21:58:08Z","updated_at":"2017-05-27T19:14:43Z","closed_at":null,"body":"This would be a way to directly solve issues like #574, and ipython/ipython#6018.\r\n\r\nAt first, I thought the way to do this would be to have nbconvert support something like the `-c ` flag - but that feels a little too python-centric (In case, dear reader, you were not already aware, one can do `ipython -c \"x=10\" -i` to get an interactive IPython shell, with x=10 in the namespace from the get-to).\r\n\r\nHere's the kind of use case I think this would support:\r\n\r\n```\r\nnbconvert --execute --share-kernel DataQueryStep.ipynb Analysis.ipynb Plotting.ipynb --to notebook\r\n```\r\nor \r\n```\r\nnbconvert --execute --share-kernel ConfigureSomeStateMachine.ipynb RunMonthlyReport.ipynb \r\n```\r\n\r\nThere are various partial-implementations of this kind of functionality: nbrun, nbparametrize, runipy - but I see no reason why this couldn't be supported in nbconvert itself.\r\n\r\nAlternatives for `--share-kernel` might be `--keep-kernel` or `--reuse-kernel` or others.\r\n"},"comment":{"url":"https://api.github.com/repos/jupyter/nbconvert/issues/comments/304471057","html_url":"https://github.com/jupyter/nbconvert/issues/597#issuecomment-304471057","issue_url":"https://api.github.com/repos/jupyter/nbconvert/issues/597","id":304471057,"user":{"login":"minrk","id":151929,"avatar_url":"https://avatars2.githubusercontent.com/u/151929?v=3","gravatar_id":"","url":"https://api.github.com/users/minrk","html_url":"https://github.com/minrk","followers_url":"https://api.github.com/users/minrk/followers","following_url":"https://api.github.com/users/minrk/following{/other_user}","gists_url":"https://api.github.com/users/minrk/gists{/gist_id}","starred_url":"https://api.github.com/users/minrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minrk/subscriptions","organizations_url":"https://api.github.com/users/minrk/orgs","repos_url":"https://api.github.com/users/minrk/repos","events_url":"https://api.github.com/users/minrk/events{/privacy}","received_events_url":"https://api.github.com/users/minrk/received_events","type":"User","site_admin":false},"created_at":"2017-05-27T19:14:43Z","updated_at":"2017-05-27T19:14:43Z","body":"Sounds like a good idea.\n"}}
{"actor":{"display_login":"minrk"}}