{"action":"opened","number":227,"pull_request":{"url":"https://api.github.com/repos/pytoolz/toolz/pulls/227","id":28494955,"html_url":"https://github.com/pytoolz/toolz/pull/227","diff_url":"https://github.com/pytoolz/toolz/pull/227.diff","patch_url":"https://github.com/pytoolz/toolz/pull/227.patch","issue_url":"https://api.github.com/repos/pytoolz/toolz/issues/227","number":227,"state":"open","locked":false,"title":"alias heapq.nlargest to topk","user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"body":"Is this worth the alias?  Keep the name `nlargest`?\r\n\r\n```Python\r\nIn [16]: topk(2, xrange(int(1e9)))\r\nOut[16]: [999999999, 999999998]\r\n```","created_at":"2015-02-02T19:23:38Z","updated_at":"2015-02-02T19:23:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pytoolz/toolz/pulls/227/commits","review_comments_url":"https://api.github.com/repos/pytoolz/toolz/pulls/227/comments","review_comment_url":"https://api.github.com/repos/pytoolz/toolz/pulls/comments/{number}","comments_url":"https://api.github.com/repos/pytoolz/toolz/issues/227/comments","statuses_url":"https://api.github.com/repos/pytoolz/toolz/statuses/e92af73519a67d69ee48cb80cbf3560cb49a335a","head":{"label":"mrocklin:topk","ref":"topk","sha":"e92af73519a67d69ee48cb80cbf3560cb49a335a","user":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"repo":{"id":12746059,"name":"toolz","full_name":"mrocklin/toolz","owner":{"login":"mrocklin","id":306380,"avatar_url":"https://avatars.githubusercontent.com/u/306380?v=3","gravatar_id":"","url":"https://api.github.com/users/mrocklin","html_url":"https://github.com/mrocklin","followers_url":"https://api.github.com/users/mrocklin/followers","following_url":"https://api.github.com/users/mrocklin/following{/other_user}","gists_url":"https://api.github.com/users/mrocklin/gists{/gist_id}","starred_url":"https://api.github.com/users/mrocklin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrocklin/subscriptions","organizations_url":"https://api.github.com/users/mrocklin/orgs","repos_url":"https://api.github.com/users/mrocklin/repos","events_url":"https://api.github.com/users/mrocklin/events{/privacy}","received_events_url":"https://api.github.com/users/mrocklin/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mrocklin/toolz","description":"More tools for Python","fork":false,"url":"https://api.github.com/repos/mrocklin/toolz","forks_url":"https://api.github.com/repos/mrocklin/toolz/forks","keys_url":"https://api.github.com/repos/mrocklin/toolz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mrocklin/toolz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mrocklin/toolz/teams","hooks_url":"https://api.github.com/repos/mrocklin/toolz/hooks","issue_events_url":"https://api.github.com/repos/mrocklin/toolz/issues/events{/number}","events_url":"https://api.github.com/repos/mrocklin/toolz/events","assignees_url":"https://api.github.com/repos/mrocklin/toolz/assignees{/user}","branches_url":"https://api.github.com/repos/mrocklin/toolz/branches{/branch}","tags_url":"https://api.github.com/repos/mrocklin/toolz/tags","blobs_url":"https://api.github.com/repos/mrocklin/toolz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mrocklin/toolz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mrocklin/toolz/git/refs{/sha}","trees_url":"https://api.github.com/repos/mrocklin/toolz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mrocklin/toolz/statuses/{sha}","languages_url":"https://api.github.com/repos/mrocklin/toolz/languages","stargazers_url":"https://api.github.com/repos/mrocklin/toolz/stargazers","contributors_url":"https://api.github.com/repos/mrocklin/toolz/contributors","subscribers_url":"https://api.github.com/repos/mrocklin/toolz/subscribers","subscription_url":"https://api.github.com/repos/mrocklin/toolz/subscription","commits_url":"https://api.github.com/repos/mrocklin/toolz/commits{/sha}","git_commits_url":"https://api.github.com/repos/mrocklin/toolz/git/commits{/sha}","comments_url":"https://api.github.com/repos/mrocklin/toolz/comments{/number}","issue_comment_url":"https://api.github.com/repos/mrocklin/toolz/issues/comments/{number}","contents_url":"https://api.github.com/repos/mrocklin/toolz/contents/{+path}","compare_url":"https://api.github.com/repos/mrocklin/toolz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mrocklin/toolz/merges","archive_url":"https://api.github.com/repos/mrocklin/toolz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mrocklin/toolz/downloads","issues_url":"https://api.github.com/repos/mrocklin/toolz/issues{/number}","pulls_url":"https://api.github.com/repos/mrocklin/toolz/pulls{/number}","milestones_url":"https://api.github.com/repos/mrocklin/toolz/milestones{/number}","notifications_url":"https://api.github.com/repos/mrocklin/toolz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mrocklin/toolz/labels{/name}","releases_url":"https://api.github.com/repos/mrocklin/toolz/releases{/id}","created_at":"2013-09-11T02:47:55Z","updated_at":"2014-12-21T19:20:11Z","pushed_at":"2015-02-02T19:22:27Z","git_url":"git://github.com/mrocklin/toolz.git","ssh_url":"git@github.com:mrocklin/toolz.git","clone_url":"https://github.com/mrocklin/toolz.git","svn_url":"https://github.com/mrocklin/toolz","homepage":null,"size":1535,"stargazers_count":28,"watchers_count":28,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":3,"forks":36,"open_issues":3,"watchers":28,"default_branch":"master"}},"base":{"label":"pytoolz:master","ref":"master","sha":"785edcf636fc68d11f817cdb09216c9025072c3b","user":{"login":"pytoolz","id":5448828,"avatar_url":"https://avatars.githubusercontent.com/u/5448828?v=3","gravatar_id":"","url":"https://api.github.com/users/pytoolz","html_url":"https://github.com/pytoolz","followers_url":"https://api.github.com/users/pytoolz/followers","following_url":"https://api.github.com/users/pytoolz/following{/other_user}","gists_url":"https://api.github.com/users/pytoolz/gists{/gist_id}","starred_url":"https://api.github.com/users/pytoolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytoolz/subscriptions","organizations_url":"https://api.github.com/users/pytoolz/orgs","repos_url":"https://api.github.com/users/pytoolz/repos","events_url":"https://api.github.com/users/pytoolz/events{/privacy}","received_events_url":"https://api.github.com/users/pytoolz/received_events","type":"Organization","site_admin":false},"repo":{"id":12799539,"name":"toolz","full_name":"pytoolz/toolz","owner":{"login":"pytoolz","id":5448828,"avatar_url":"https://avatars.githubusercontent.com/u/5448828?v=3","gravatar_id":"","url":"https://api.github.com/users/pytoolz","html_url":"https://github.com/pytoolz","followers_url":"https://api.github.com/users/pytoolz/followers","following_url":"https://api.github.com/users/pytoolz/following{/other_user}","gists_url":"https://api.github.com/users/pytoolz/gists{/gist_id}","starred_url":"https://api.github.com/users/pytoolz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pytoolz/subscriptions","organizations_url":"https://api.github.com/users/pytoolz/orgs","repos_url":"https://api.github.com/users/pytoolz/repos","events_url":"https://api.github.com/users/pytoolz/events{/privacy}","received_events_url":"https://api.github.com/users/pytoolz/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pytoolz/toolz","description":"A functional standard library for Python.","fork":true,"url":"https://api.github.com/repos/pytoolz/toolz","forks_url":"https://api.github.com/repos/pytoolz/toolz/forks","keys_url":"https://api.github.com/repos/pytoolz/toolz/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pytoolz/toolz/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pytoolz/toolz/teams","hooks_url":"https://api.github.com/repos/pytoolz/toolz/hooks","issue_events_url":"https://api.github.com/repos/pytoolz/toolz/issues/events{/number}","events_url":"https://api.github.com/repos/pytoolz/toolz/events","assignees_url":"https://api.github.com/repos/pytoolz/toolz/assignees{/user}","branches_url":"https://api.github.com/repos/pytoolz/toolz/branches{/branch}","tags_url":"https://api.github.com/repos/pytoolz/toolz/tags","blobs_url":"https://api.github.com/repos/pytoolz/toolz/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pytoolz/toolz/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pytoolz/toolz/git/refs{/sha}","trees_url":"https://api.github.com/repos/pytoolz/toolz/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pytoolz/toolz/statuses/{sha}","languages_url":"https://api.github.com/repos/pytoolz/toolz/languages","stargazers_url":"https://api.github.com/repos/pytoolz/toolz/stargazers","contributors_url":"https://api.github.com/repos/pytoolz/toolz/contributors","subscribers_url":"https://api.github.com/repos/pytoolz/toolz/subscribers","subscription_url":"https://api.github.com/repos/pytoolz/toolz/subscription","commits_url":"https://api.github.com/repos/pytoolz/toolz/commits{/sha}","git_commits_url":"https://api.github.com/repos/pytoolz/toolz/git/commits{/sha}","comments_url":"https://api.github.com/repos/pytoolz/toolz/comments{/number}","issue_comment_url":"https://api.github.com/repos/pytoolz/toolz/issues/comments/{number}","contents_url":"https://api.github.com/repos/pytoolz/toolz/contents/{+path}","compare_url":"https://api.github.com/repos/pytoolz/toolz/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pytoolz/toolz/merges","archive_url":"https://api.github.com/repos/pytoolz/toolz/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pytoolz/toolz/downloads","issues_url":"https://api.github.com/repos/pytoolz/toolz/issues{/number}","pulls_url":"https://api.github.com/repos/pytoolz/toolz/pulls{/number}","milestones_url":"https://api.github.com/repos/pytoolz/toolz/milestones{/number}","notifications_url":"https://api.github.com/repos/pytoolz/toolz/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pytoolz/toolz/labels{/name}","releases_url":"https://api.github.com/repos/pytoolz/toolz/releases{/id}","created_at":"2013-09-13T02:18:43Z","updated_at":"2015-02-02T13:14:25Z","pushed_at":"2015-01-12T18:08:52Z","git_url":"git://github.com/pytoolz/toolz.git","ssh_url":"git@github.com:pytoolz/toolz.git","clone_url":"https://github.com/pytoolz/toolz.git","svn_url":"https://github.com/pytoolz/toolz","homepage":"http://toolz.readthedocs.org/","size":1956,"stargazers_count":355,"watchers_count":355,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":25,"forks":31,"open_issues":25,"watchers":355,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pytoolz/toolz/pulls/227"},"html":{"href":"https://github.com/pytoolz/toolz/pull/227"},"issue":{"href":"https://api.github.com/repos/pytoolz/toolz/issues/227"},"comments":{"href":"https://api.github.com/repos/pytoolz/toolz/issues/227/comments"},"review_comments":{"href":"https://api.github.com/repos/pytoolz/toolz/pulls/227/comments"},"review_comment":{"href":"https://api.github.com/repos/pytoolz/toolz/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/pytoolz/toolz/pulls/227/commits"},"statuses":{"href":"https://api.github.com/repos/pytoolz/toolz/statuses/e92af73519a67d69ee48cb80cbf3560cb49a335a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":1,"changed_files":2}}