{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls/2","id":66679398,"html_url":"https://github.com/glue-viz/glue-3d-selection/pull/2","diff_url":"https://github.com/glue-viz/glue-3d-selection/pull/2.diff","patch_url":"https://github.com/glue-viz/glue-3d-selection/pull/2.patch","issue_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues/2","number":2,"state":"open","locked":false,"title":"add flood_fill cython code and test img","user":{"login":"PennyQ","id":13411839,"avatar_url":"https://avatars.githubusercontent.com/u/13411839?v=3","gravatar_id":"","url":"https://api.github.com/users/PennyQ","html_url":"https://github.com/PennyQ","followers_url":"https://api.github.com/users/PennyQ/followers","following_url":"https://api.github.com/users/PennyQ/following{/other_user}","gists_url":"https://api.github.com/users/PennyQ/gists{/gist_id}","starred_url":"https://api.github.com/users/PennyQ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PennyQ/subscriptions","organizations_url":"https://api.github.com/users/PennyQ/orgs","repos_url":"https://api.github.com/users/PennyQ/repos","events_url":"https://api.github.com/users/PennyQ/events{/privacy}","received_events_url":"https://api.github.com/users/PennyQ/received_events","type":"User","site_admin":false},"body":"Several files here as: `flood_fill.pyx` is the Cython source code doing the flood fill calculation and `main_flood.py` is the main Python code that calls the `flood_fill` module generated by Cython.\r\n\r\nEasy running it with:\r\n`python setup.py build_ext --inplace` \r\n`python main_flood.py`\r\n\r\nThen the new image will be generated and showed as below:\r\n \r\n![image](https://cloud.githubusercontent.com/assets/13411839/14569794/d539e72e-030e-11e6-95a3-907bbfb4f7ef.png)\r\n","created_at":"2016-04-15T17:47:13Z","updated_at":"2016-04-15T17:47:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls/2/commits","review_comments_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls/2/comments","review_comment_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues/2/comments","statuses_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/statuses/eff524b14f18f71b75bf32d35118f414c1ef1bac","head":{"label":"glue-viz:flood_fill","ref":"flood_fill","sha":"eff524b14f18f71b75bf32d35118f414c1ef1bac","user":{"login":"glue-viz","id":1926209,"avatar_url":"https://avatars.githubusercontent.com/u/1926209?v=3","gravatar_id":"","url":"https://api.github.com/users/glue-viz","html_url":"https://github.com/glue-viz","followers_url":"https://api.github.com/users/glue-viz/followers","following_url":"https://api.github.com/users/glue-viz/following{/other_user}","gists_url":"https://api.github.com/users/glue-viz/gists{/gist_id}","starred_url":"https://api.github.com/users/glue-viz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glue-viz/subscriptions","organizations_url":"https://api.github.com/users/glue-viz/orgs","repos_url":"https://api.github.com/users/glue-viz/repos","events_url":"https://api.github.com/users/glue-viz/events{/privacy}","received_events_url":"https://api.github.com/users/glue-viz/received_events","type":"Organization","site_admin":false},"repo":{"id":52483920,"name":"glue-3d-selection","full_name":"glue-viz/glue-3d-selection","owner":{"login":"glue-viz","id":1926209,"avatar_url":"https://avatars.githubusercontent.com/u/1926209?v=3","gravatar_id":"","url":"https://api.github.com/users/glue-viz","html_url":"https://github.com/glue-viz","followers_url":"https://api.github.com/users/glue-viz/followers","following_url":"https://api.github.com/users/glue-viz/following{/other_user}","gists_url":"https://api.github.com/users/glue-viz/gists{/gist_id}","starred_url":"https://api.github.com/users/glue-viz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glue-viz/subscriptions","organizations_url":"https://api.github.com/users/glue-viz/orgs","repos_url":"https://api.github.com/users/glue-viz/repos","events_url":"https://api.github.com/users/glue-viz/events{/privacy}","received_events_url":"https://api.github.com/users/glue-viz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/glue-viz/glue-3d-selection","description":"","fork":false,"url":"https://api.github.com/repos/glue-viz/glue-3d-selection","forks_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/forks","keys_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/teams","hooks_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/hooks","issue_events_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues/events{/number}","events_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/events","assignees_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/assignees{/user}","branches_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/branches{/branch}","tags_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/tags","blobs_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/refs{/sha}","trees_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/statuses/{sha}","languages_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/languages","stargazers_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/stargazers","contributors_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/contributors","subscribers_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/subscribers","subscription_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/subscription","commits_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/commits{/sha}","git_commits_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/commits{/sha}","comments_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/comments{/number}","issue_comment_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues/comments{/number}","contents_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/contents/{+path}","compare_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/merges","archive_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/downloads","issues_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues{/number}","pulls_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls{/number}","milestones_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/milestones{/number}","notifications_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/labels{/name}","releases_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/releases{/id}","deployments_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/deployments","created_at":"2016-02-25T00:12:41Z","updated_at":"2016-03-03T04:37:03Z","pushed_at":"2016-04-15T17:32:22Z","git_url":"git://github.com/glue-viz/glue-3d-selection.git","ssh_url":"git@github.com:glue-viz/glue-3d-selection.git","clone_url":"https://github.com/glue-viz/glue-3d-selection.git","svn_url":"https://github.com/glue-viz/glue-3d-selection","homepage":null,"size":2140,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"glue-viz:master","ref":"master","sha":"75d35323c6aa7e10bb14ab4ddfa5066ea816b3fd","user":{"login":"glue-viz","id":1926209,"avatar_url":"https://avatars.githubusercontent.com/u/1926209?v=3","gravatar_id":"","url":"https://api.github.com/users/glue-viz","html_url":"https://github.com/glue-viz","followers_url":"https://api.github.com/users/glue-viz/followers","following_url":"https://api.github.com/users/glue-viz/following{/other_user}","gists_url":"https://api.github.com/users/glue-viz/gists{/gist_id}","starred_url":"https://api.github.com/users/glue-viz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glue-viz/subscriptions","organizations_url":"https://api.github.com/users/glue-viz/orgs","repos_url":"https://api.github.com/users/glue-viz/repos","events_url":"https://api.github.com/users/glue-viz/events{/privacy}","received_events_url":"https://api.github.com/users/glue-viz/received_events","type":"Organization","site_admin":false},"repo":{"id":52483920,"name":"glue-3d-selection","full_name":"glue-viz/glue-3d-selection","owner":{"login":"glue-viz","id":1926209,"avatar_url":"https://avatars.githubusercontent.com/u/1926209?v=3","gravatar_id":"","url":"https://api.github.com/users/glue-viz","html_url":"https://github.com/glue-viz","followers_url":"https://api.github.com/users/glue-viz/followers","following_url":"https://api.github.com/users/glue-viz/following{/other_user}","gists_url":"https://api.github.com/users/glue-viz/gists{/gist_id}","starred_url":"https://api.github.com/users/glue-viz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/glue-viz/subscriptions","organizations_url":"https://api.github.com/users/glue-viz/orgs","repos_url":"https://api.github.com/users/glue-viz/repos","events_url":"https://api.github.com/users/glue-viz/events{/privacy}","received_events_url":"https://api.github.com/users/glue-viz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/glue-viz/glue-3d-selection","description":"","fork":false,"url":"https://api.github.com/repos/glue-viz/glue-3d-selection","forks_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/forks","keys_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/teams","hooks_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/hooks","issue_events_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues/events{/number}","events_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/events","assignees_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/assignees{/user}","branches_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/branches{/branch}","tags_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/tags","blobs_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/refs{/sha}","trees_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/statuses/{sha}","languages_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/languages","stargazers_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/stargazers","contributors_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/contributors","subscribers_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/subscribers","subscription_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/subscription","commits_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/commits{/sha}","git_commits_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/git/commits{/sha}","comments_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/comments{/number}","issue_comment_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues/comments{/number}","contents_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/contents/{+path}","compare_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/merges","archive_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/downloads","issues_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues{/number}","pulls_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls{/number}","milestones_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/milestones{/number}","notifications_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/labels{/name}","releases_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/releases{/id}","deployments_url":"https://api.github.com/repos/glue-viz/glue-3d-selection/deployments","created_at":"2016-02-25T00:12:41Z","updated_at":"2016-03-03T04:37:03Z","pushed_at":"2016-04-15T17:32:22Z","git_url":"git://github.com/glue-viz/glue-3d-selection.git","ssh_url":"git@github.com:glue-viz/glue-3d-selection.git","clone_url":"https://github.com/glue-viz/glue-3d-selection.git","svn_url":"https://github.com/glue-viz/glue-3d-selection","homepage":null,"size":2140,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls/2"},"html":{"href":"https://github.com/glue-viz/glue-3d-selection/pull/2"},"issue":{"href":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues/2"},"comments":{"href":"https://api.github.com/repos/glue-viz/glue-3d-selection/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/glue-viz/glue-3d-selection/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/glue-viz/glue-3d-selection/statuses/eff524b14f18f71b75bf32d35118f414c1ef1bac"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":85,"deletions":0,"changed_files":4}}