{"action":"created","comment":{"url":"https://api.github.com/repos/jupyter/nbconvert/pulls/comments/49420961","id":49420961,"diff_hunk":"@@ -0,0 +1,143 @@\n+Executing notebooks\n+===================\n+\n+.. module:: nbconvert.preprocessors\n+\n+In this section we show how to execute a ``.ipynb`` notebook","path":"docs/source/execute_api.rst","position":6,"original_position":6,"commit_id":"ec72a149d91bf1027cf862de2af4b247b056d3bd","original_commit_id":"ec72a149d91bf1027cf862de2af4b247b056d3bd","user":{"login":"willingc","id":2680980,"avatar_url":"https://avatars.githubusercontent.com/u/2680980?v=3","gravatar_id":"","url":"https://api.github.com/users/willingc","html_url":"https://github.com/willingc","followers_url":"https://api.github.com/users/willingc/followers","following_url":"https://api.github.com/users/willingc/following{/other_user}","gists_url":"https://api.github.com/users/willingc/gists{/gist_id}","starred_url":"https://api.github.com/users/willingc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willingc/subscriptions","organizations_url":"https://api.github.com/users/willingc/orgs","repos_url":"https://api.github.com/users/willingc/repos","events_url":"https://api.github.com/users/willingc/events{/privacy}","received_events_url":"https://api.github.com/users/willingc/received_events","type":"User","site_admin":false},"body":"Typo ...execute an ``.ipynb`` ...","created_at":"2016-01-12T07:02:37Z","updated_at":"2016-01-12T07:02:37Z","html_url":"https://github.com/jupyter/nbconvert/pull/191#discussion_r49420961","pull_request_url":"https://api.github.com/repos/jupyter/nbconvert/pulls/191","_links":{"self":{"href":"https://api.github.com/repos/jupyter/nbconvert/pulls/comments/49420961"},"html":{"href":"https://github.com/jupyter/nbconvert/pull/191#discussion_r49420961"},"pull_request":{"href":"https://api.github.com/repos/jupyter/nbconvert/pulls/191"}}},"pull_request":{"url":"https://api.github.com/repos/jupyter/nbconvert/pulls/191","id":55671286,"html_url":"https://github.com/jupyter/nbconvert/pull/191","diff_url":"https://github.com/jupyter/nbconvert/pull/191.diff","patch_url":"https://github.com/jupyter/nbconvert/pull/191.patch","issue_url":"https://api.github.com/repos/jupyter/nbconvert/issues/191","number":191,"state":"open","locked":false,"title":"DOC: Add section on executing notebooks","user":{"login":"tritemio","id":4156237,"avatar_url":"https://avatars.githubusercontent.com/u/4156237?v=3","gravatar_id":"","url":"https://api.github.com/users/tritemio","html_url":"https://github.com/tritemio","followers_url":"https://api.github.com/users/tritemio/followers","following_url":"https://api.github.com/users/tritemio/following{/other_user}","gists_url":"https://api.github.com/users/tritemio/gists{/gist_id}","starred_url":"https://api.github.com/users/tritemio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tritemio/subscriptions","organizations_url":"https://api.github.com/users/tritemio/orgs","repos_url":"https://api.github.com/users/tritemio/repos","events_url":"https://api.github.com/users/tritemio/events{/privacy}","received_events_url":"https://api.github.com/users/tritemio/received_events","type":"User","site_admin":false},"body":"This section shows how to execute notebooks using nbconvert API. The executed notebook is saved in notebook format. There is no discussion on exporting notebooks to other format (topic already addressed in another section of the docs).\r\n\r\nThis is heavily based on this blog post: [Batch Execution of Jupyter Notebooks](http://tritemio.github.io/smbits/2016/01/02/execute-notebooks/).\r\n\r\nExcept for links/formatting fixes it should be ready for review. I can rebase to clean history before merge.","created_at":"2016-01-11T20:11:22Z","updated_at":"2016-01-12T07:02:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c0dff84aabc95e685dbfd43f8499cb53012d6bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jupyter/nbconvert/pulls/191/commits","review_comments_url":"https://api.github.com/repos/jupyter/nbconvert/pulls/191/comments","review_comment_url":"https://api.github.com/repos/jupyter/nbconvert/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jupyter/nbconvert/issues/191/comments","statuses_url":"https://api.github.com/repos/jupyter/nbconvert/statuses/ec72a149d91bf1027cf862de2af4b247b056d3bd","head":{"label":"tritemio:docs_execute","ref":"docs_execute","sha":"ec72a149d91bf1027cf862de2af4b247b056d3bd","user":{"login":"tritemio","id":4156237,"avatar_url":"https://avatars.githubusercontent.com/u/4156237?v=3","gravatar_id":"","url":"https://api.github.com/users/tritemio","html_url":"https://github.com/tritemio","followers_url":"https://api.github.com/users/tritemio/followers","following_url":"https://api.github.com/users/tritemio/following{/other_user}","gists_url":"https://api.github.com/users/tritemio/gists{/gist_id}","starred_url":"https://api.github.com/users/tritemio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tritemio/subscriptions","organizations_url":"https://api.github.com/users/tritemio/orgs","repos_url":"https://api.github.com/users/tritemio/repos","events_url":"https://api.github.com/users/tritemio/events{/privacy}","received_events_url":"https://api.github.com/users/tritemio/received_events","type":"User","site_admin":false},"repo":{"id":43036982,"name":"nbconvert","full_name":"tritemio/nbconvert","owner":{"login":"tritemio","id":4156237,"avatar_url":"https://avatars.githubusercontent.com/u/4156237?v=3","gravatar_id":"","url":"https://api.github.com/users/tritemio","html_url":"https://github.com/tritemio","followers_url":"https://api.github.com/users/tritemio/followers","following_url":"https://api.github.com/users/tritemio/following{/other_user}","gists_url":"https://api.github.com/users/tritemio/gists{/gist_id}","starred_url":"https://api.github.com/users/tritemio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tritemio/subscriptions","organizations_url":"https://api.github.com/users/tritemio/orgs","repos_url":"https://api.github.com/users/tritemio/repos","events_url":"https://api.github.com/users/tritemio/events{/privacy}","received_events_url":"https://api.github.com/users/tritemio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tritemio/nbconvert","description":"Jupyter Notebook Conversion","fork":true,"url":"https://api.github.com/repos/tritemio/nbconvert","forks_url":"https://api.github.com/repos/tritemio/nbconvert/forks","keys_url":"https://api.github.com/repos/tritemio/nbconvert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tritemio/nbconvert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tritemio/nbconvert/teams","hooks_url":"https://api.github.com/repos/tritemio/nbconvert/hooks","issue_events_url":"https://api.github.com/repos/tritemio/nbconvert/issues/events{/number}","events_url":"https://api.github.com/repos/tritemio/nbconvert/events","assignees_url":"https://api.github.com/repos/tritemio/nbconvert/assignees{/user}","branches_url":"https://api.github.com/repos/tritemio/nbconvert/branches{/branch}","tags_url":"https://api.github.com/repos/tritemio/nbconvert/tags","blobs_url":"https://api.github.com/repos/tritemio/nbconvert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tritemio/nbconvert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tritemio/nbconvert/git/refs{/sha}","trees_url":"https://api.github.com/repos/tritemio/nbconvert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tritemio/nbconvert/statuses/{sha}","languages_url":"https://api.github.com/repos/tritemio/nbconvert/languages","stargazers_url":"https://api.github.com/repos/tritemio/nbconvert/stargazers","contributors_url":"https://api.github.com/repos/tritemio/nbconvert/contributors","subscribers_url":"https://api.github.com/repos/tritemio/nbconvert/subscribers","subscription_url":"https://api.github.com/repos/tritemio/nbconvert/subscription","commits_url":"https://api.github.com/repos/tritemio/nbconvert/commits{/sha}","git_commits_url":"https://api.github.com/repos/tritemio/nbconvert/git/commits{/sha}","comments_url":"https://api.github.com/repos/tritemio/nbconvert/comments{/number}","issue_comment_url":"https://api.github.com/repos/tritemio/nbconvert/issues/comments{/number}","contents_url":"https://api.github.com/repos/tritemio/nbconvert/contents/{+path}","compare_url":"https://api.github.com/repos/tritemio/nbconvert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tritemio/nbconvert/merges","archive_url":"https://api.github.com/repos/tritemio/nbconvert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tritemio/nbconvert/downloads","issues_url":"https://api.github.com/repos/tritemio/nbconvert/issues{/number}","pulls_url":"https://api.github.com/repos/tritemio/nbconvert/pulls{/number}","milestones_url":"https://api.github.com/repos/tritemio/nbconvert/milestones{/number}","notifications_url":"https://api.github.com/repos/tritemio/nbconvert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tritemio/nbconvert/labels{/name}","releases_url":"https://api.github.com/repos/tritemio/nbconvert/releases{/id}","created_at":"2015-09-24T01:25:05Z","updated_at":"2015-09-24T01:25:06Z","pushed_at":"2016-01-12T05:57:14Z","git_url":"git://github.com/tritemio/nbconvert.git","ssh_url":"git@github.com:tritemio/nbconvert.git","clone_url":"https://github.com/tritemio/nbconvert.git","svn_url":"https://github.com/tritemio/nbconvert","homepage":"http://nbconvert.readthedocs.org/","size":1566,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jupyter:master","ref":"master","sha":"fe119ad45a9bd0de5560075c987c38f4cbc486bb","user":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"repo":{"id":33653617,"name":"nbconvert","full_name":"jupyter/nbconvert","owner":{"login":"jupyter","id":7388996,"avatar_url":"https://avatars.githubusercontent.com/u/7388996?v=3","gravatar_id":"","url":"https://api.github.com/users/jupyter","html_url":"https://github.com/jupyter","followers_url":"https://api.github.com/users/jupyter/followers","following_url":"https://api.github.com/users/jupyter/following{/other_user}","gists_url":"https://api.github.com/users/jupyter/gists{/gist_id}","starred_url":"https://api.github.com/users/jupyter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jupyter/subscriptions","organizations_url":"https://api.github.com/users/jupyter/orgs","repos_url":"https://api.github.com/users/jupyter/repos","events_url":"https://api.github.com/users/jupyter/events{/privacy}","received_events_url":"https://api.github.com/users/jupyter/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/jupyter/nbconvert","description":"Jupyter Notebook Conversion","fork":false,"url":"https://api.github.com/repos/jupyter/nbconvert","forks_url":"https://api.github.com/repos/jupyter/nbconvert/forks","keys_url":"https://api.github.com/repos/jupyter/nbconvert/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jupyter/nbconvert/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jupyter/nbconvert/teams","hooks_url":"https://api.github.com/repos/jupyter/nbconvert/hooks","issue_events_url":"https://api.github.com/repos/jupyter/nbconvert/issues/events{/number}","events_url":"https://api.github.com/repos/jupyter/nbconvert/events","assignees_url":"https://api.github.com/repos/jupyter/nbconvert/assignees{/user}","branches_url":"https://api.github.com/repos/jupyter/nbconvert/branches{/branch}","tags_url":"https://api.github.com/repos/jupyter/nbconvert/tags","blobs_url":"https://api.github.com/repos/jupyter/nbconvert/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jupyter/nbconvert/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jupyter/nbconvert/git/refs{/sha}","trees_url":"https://api.github.com/repos/jupyter/nbconvert/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jupyter/nbconvert/statuses/{sha}","languages_url":"https://api.github.com/repos/jupyter/nbconvert/languages","stargazers_url":"https://api.github.com/repos/jupyter/nbconvert/stargazers","contributors_url":"https://api.github.com/repos/jupyter/nbconvert/contributors","subscribers_url":"https://api.github.com/repos/jupyter/nbconvert/subscribers","subscription_url":"https://api.github.com/repos/jupyter/nbconvert/subscription","commits_url":"https://api.github.com/repos/jupyter/nbconvert/commits{/sha}","git_commits_url":"https://api.github.com/repos/jupyter/nbconvert/git/commits{/sha}","comments_url":"https://api.github.com/repos/jupyter/nbconvert/comments{/number}","issue_comment_url":"https://api.github.com/repos/jupyter/nbconvert/issues/comments{/number}","contents_url":"https://api.github.com/repos/jupyter/nbconvert/contents/{+path}","compare_url":"https://api.github.com/repos/jupyter/nbconvert/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jupyter/nbconvert/merges","archive_url":"https://api.github.com/repos/jupyter/nbconvert/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jupyter/nbconvert/downloads","issues_url":"https://api.github.com/repos/jupyter/nbconvert/issues{/number}","pulls_url":"https://api.github.com/repos/jupyter/nbconvert/pulls{/number}","milestones_url":"https://api.github.com/repos/jupyter/nbconvert/milestones{/number}","notifications_url":"https://api.github.com/repos/jupyter/nbconvert/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jupyter/nbconvert/labels{/name}","releases_url":"https://api.github.com/repos/jupyter/nbconvert/releases{/id}","created_at":"2015-04-09T06:58:23Z","updated_at":"2016-01-11T08:24:36Z","pushed_at":"2016-01-12T05:57:14Z","git_url":"git://github.com/jupyter/nbconvert.git","ssh_url":"git@github.com:jupyter/nbconvert.git","clone_url":"https://github.com/jupyter/nbconvert.git","svn_url":"https://github.com/jupyter/nbconvert","homepage":"http://nbconvert.readthedocs.org/","size":3535,"stargazers_count":44,"watchers_count":44,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":51,"mirror_url":null,"open_issues_count":47,"forks":51,"open_issues":47,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jupyter/nbconvert/pulls/191"},"html":{"href":"https://github.com/jupyter/nbconvert/pull/191"},"issue":{"href":"https://api.github.com/repos/jupyter/nbconvert/issues/191"},"comments":{"href":"https://api.github.com/repos/jupyter/nbconvert/issues/191/comments"},"review_comments":{"href":"https://api.github.com/repos/jupyter/nbconvert/pulls/191/comments"},"review_comment":{"href":"https://api.github.com/repos/jupyter/nbconvert/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jupyter/nbconvert/pulls/191/commits"},"statuses":{"href":"https://api.github.com/repos/jupyter/nbconvert/statuses/ec72a149d91bf1027cf862de2af4b247b056d3bd"}}}}