{"action":"created","comment":{"url":"https://api.github.com/repos/michaelsilver/wikimap/pulls/comments/35728603","id":35728603,"diff_hunk":"@@ -0,0 +1,80 @@\n+import itertools\n+import json\n+from xlrd import open_workbook\n+import networkx as nx\n+\n+\n+# READING\n+\n+# add caching decorator","path":"wikimap/data.py","position":9,"original_position":9,"commit_id":"b9caa59dd2034d292794ab5e930081baabace35d","original_commit_id":"b9caa59dd2034d292794ab5e930081baabace35d","user":{"login":"alvaromorales","id":2496170,"avatar_url":"https://avatars.githubusercontent.com/u/2496170?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaromorales","html_url":"https://github.com/alvaromorales","followers_url":"https://api.github.com/users/alvaromorales/followers","following_url":"https://api.github.com/users/alvaromorales/following{/other_user}","gists_url":"https://api.github.com/users/alvaromorales/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaromorales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaromorales/subscriptions","organizations_url":"https://api.github.com/users/alvaromorales/orgs","repos_url":"https://api.github.com/users/alvaromorales/repos","events_url":"https://api.github.com/users/alvaromorales/events{/privacy}","received_events_url":"https://api.github.com/users/alvaromorales/received_events","type":"User","site_admin":false},"body":"Why do you need a caching decorator? Caching for such a small and focused library seems like over-engineering, and it might introduce additional problems such as memory leaks.","created_at":"2015-07-29T05:24:34Z","updated_at":"2015-07-29T05:24:34Z","html_url":"https://github.com/michaelsilver/wikimap/pull/3#discussion_r35728603","pull_request_url":"https://api.github.com/repos/michaelsilver/wikimap/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/michaelsilver/wikimap/pulls/comments/35728603"},"html":{"href":"https://github.com/michaelsilver/wikimap/pull/3#discussion_r35728603"},"pull_request":{"href":"https://api.github.com/repos/michaelsilver/wikimap/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/michaelsilver/wikimap/pulls/3","id":39882035,"html_url":"https://github.com/michaelsilver/wikimap/pull/3","diff_url":"https://github.com/michaelsilver/wikimap/pull/3.diff","patch_url":"https://github.com/michaelsilver/wikimap/pull/3.patch","issue_url":"https://api.github.com/repos/michaelsilver/wikimap/issues/3","number":3,"state":"open","locked":false,"title":"Added a single entrypoint","user":{"login":"alvaromorales","id":2496170,"avatar_url":"https://avatars.githubusercontent.com/u/2496170?v=3","gravatar_id":"","url":"https://api.github.com/users/alvaromorales","html_url":"https://github.com/alvaromorales","followers_url":"https://api.github.com/users/alvaromorales/followers","following_url":"https://api.github.com/users/alvaromorales/following{/other_user}","gists_url":"https://api.github.com/users/alvaromorales/gists{/gist_id}","starred_url":"https://api.github.com/users/alvaromorales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alvaromorales/subscriptions","organizations_url":"https://api.github.com/users/alvaromorales/orgs","repos_url":"https://api.github.com/users/alvaromorales/repos","events_url":"https://api.github.com/users/alvaromorales/events{/privacy}","received_events_url":"https://api.github.com/users/alvaromorales/received_events","type":"User","site_admin":false},"body":"Added a cli for interacting with Wikimap.\r\n\r\nHelpful links:\r\n* https://chriswarrick.com/blog/2014/09/15/python-apps-the-right-way-entry_points-and-scripts/\r\n* http://chase-seibert.github.io/blog/2014/03/21/python-multilevel-argparse.html (use subparsers only if each subcommand needs to have has its own set of required and optional parameters)","created_at":"2015-07-14T05:04:36Z","updated_at":"2015-07-29T05:24:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9b5481ec553509c72d8947b13d5cd061290091fc","assignee":{"login":"michaelsilver","id":5913522,"avatar_url":"https://avatars.githubusercontent.com/u/5913522?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsilver","html_url":"https://github.com/michaelsilver","followers_url":"https://api.github.com/users/michaelsilver/followers","following_url":"https://api.github.com/users/michaelsilver/following{/other_user}","gists_url":"https://api.github.com/users/michaelsilver/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsilver/subscriptions","organizations_url":"https://api.github.com/users/michaelsilver/orgs","repos_url":"https://api.github.com/users/michaelsilver/repos","events_url":"https://api.github.com/users/michaelsilver/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsilver/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/michaelsilver/wikimap/pulls/3/commits","review_comments_url":"https://api.github.com/repos/michaelsilver/wikimap/pulls/3/comments","review_comment_url":"https://api.github.com/repos/michaelsilver/wikimap/pulls/comments{/number}","comments_url":"https://api.github.com/repos/michaelsilver/wikimap/issues/3/comments","statuses_url":"https://api.github.com/repos/michaelsilver/wikimap/statuses/b9caa59dd2034d292794ab5e930081baabace35d","head":{"label":"michaelsilver:cli-entrypoint","ref":"cli-entrypoint","sha":"b9caa59dd2034d292794ab5e930081baabace35d","user":{"login":"michaelsilver","id":5913522,"avatar_url":"https://avatars.githubusercontent.com/u/5913522?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsilver","html_url":"https://github.com/michaelsilver","followers_url":"https://api.github.com/users/michaelsilver/followers","following_url":"https://api.github.com/users/michaelsilver/following{/other_user}","gists_url":"https://api.github.com/users/michaelsilver/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsilver/subscriptions","organizations_url":"https://api.github.com/users/michaelsilver/orgs","repos_url":"https://api.github.com/users/michaelsilver/repos","events_url":"https://api.github.com/users/michaelsilver/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsilver/received_events","type":"User","site_admin":false},"repo":{"id":35581344,"name":"wikimap","full_name":"michaelsilver/wikimap","owner":{"login":"michaelsilver","id":5913522,"avatar_url":"https://avatars.githubusercontent.com/u/5913522?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsilver","html_url":"https://github.com/michaelsilver","followers_url":"https://api.github.com/users/michaelsilver/followers","following_url":"https://api.github.com/users/michaelsilver/following{/other_user}","gists_url":"https://api.github.com/users/michaelsilver/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsilver/subscriptions","organizations_url":"https://api.github.com/users/michaelsilver/orgs","repos_url":"https://api.github.com/users/michaelsilver/repos","events_url":"https://api.github.com/users/michaelsilver/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsilver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelsilver/wikimap","description":"Extract relationships from Wiki Infobox Attributes","fork":false,"url":"https://api.github.com/repos/michaelsilver/wikimap","forks_url":"https://api.github.com/repos/michaelsilver/wikimap/forks","keys_url":"https://api.github.com/repos/michaelsilver/wikimap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelsilver/wikimap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelsilver/wikimap/teams","hooks_url":"https://api.github.com/repos/michaelsilver/wikimap/hooks","issue_events_url":"https://api.github.com/repos/michaelsilver/wikimap/issues/events{/number}","events_url":"https://api.github.com/repos/michaelsilver/wikimap/events","assignees_url":"https://api.github.com/repos/michaelsilver/wikimap/assignees{/user}","branches_url":"https://api.github.com/repos/michaelsilver/wikimap/branches{/branch}","tags_url":"https://api.github.com/repos/michaelsilver/wikimap/tags","blobs_url":"https://api.github.com/repos/michaelsilver/wikimap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelsilver/wikimap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelsilver/wikimap/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelsilver/wikimap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelsilver/wikimap/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelsilver/wikimap/languages","stargazers_url":"https://api.github.com/repos/michaelsilver/wikimap/stargazers","contributors_url":"https://api.github.com/repos/michaelsilver/wikimap/contributors","subscribers_url":"https://api.github.com/repos/michaelsilver/wikimap/subscribers","subscription_url":"https://api.github.com/repos/michaelsilver/wikimap/subscription","commits_url":"https://api.github.com/repos/michaelsilver/wikimap/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelsilver/wikimap/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelsilver/wikimap/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelsilver/wikimap/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelsilver/wikimap/contents/{+path}","compare_url":"https://api.github.com/repos/michaelsilver/wikimap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelsilver/wikimap/merges","archive_url":"https://api.github.com/repos/michaelsilver/wikimap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelsilver/wikimap/downloads","issues_url":"https://api.github.com/repos/michaelsilver/wikimap/issues{/number}","pulls_url":"https://api.github.com/repos/michaelsilver/wikimap/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelsilver/wikimap/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelsilver/wikimap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelsilver/wikimap/labels{/name}","releases_url":"https://api.github.com/repos/michaelsilver/wikimap/releases{/id}","created_at":"2015-05-14T00:26:55Z","updated_at":"2015-07-13T20:47:00Z","pushed_at":"2015-07-27T15:46:00Z","git_url":"git://github.com/michaelsilver/wikimap.git","ssh_url":"git@github.com:michaelsilver/wikimap.git","clone_url":"https://github.com/michaelsilver/wikimap.git","svn_url":"https://github.com/michaelsilver/wikimap","homepage":"","size":1070,"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":"michaelsilver:master","ref":"master","sha":"7417881d51452abbf7e437f4c896ce5ffc5647f4","user":{"login":"michaelsilver","id":5913522,"avatar_url":"https://avatars.githubusercontent.com/u/5913522?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsilver","html_url":"https://github.com/michaelsilver","followers_url":"https://api.github.com/users/michaelsilver/followers","following_url":"https://api.github.com/users/michaelsilver/following{/other_user}","gists_url":"https://api.github.com/users/michaelsilver/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsilver/subscriptions","organizations_url":"https://api.github.com/users/michaelsilver/orgs","repos_url":"https://api.github.com/users/michaelsilver/repos","events_url":"https://api.github.com/users/michaelsilver/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsilver/received_events","type":"User","site_admin":false},"repo":{"id":35581344,"name":"wikimap","full_name":"michaelsilver/wikimap","owner":{"login":"michaelsilver","id":5913522,"avatar_url":"https://avatars.githubusercontent.com/u/5913522?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelsilver","html_url":"https://github.com/michaelsilver","followers_url":"https://api.github.com/users/michaelsilver/followers","following_url":"https://api.github.com/users/michaelsilver/following{/other_user}","gists_url":"https://api.github.com/users/michaelsilver/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelsilver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelsilver/subscriptions","organizations_url":"https://api.github.com/users/michaelsilver/orgs","repos_url":"https://api.github.com/users/michaelsilver/repos","events_url":"https://api.github.com/users/michaelsilver/events{/privacy}","received_events_url":"https://api.github.com/users/michaelsilver/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michaelsilver/wikimap","description":"Extract relationships from Wiki Infobox Attributes","fork":false,"url":"https://api.github.com/repos/michaelsilver/wikimap","forks_url":"https://api.github.com/repos/michaelsilver/wikimap/forks","keys_url":"https://api.github.com/repos/michaelsilver/wikimap/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michaelsilver/wikimap/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michaelsilver/wikimap/teams","hooks_url":"https://api.github.com/repos/michaelsilver/wikimap/hooks","issue_events_url":"https://api.github.com/repos/michaelsilver/wikimap/issues/events{/number}","events_url":"https://api.github.com/repos/michaelsilver/wikimap/events","assignees_url":"https://api.github.com/repos/michaelsilver/wikimap/assignees{/user}","branches_url":"https://api.github.com/repos/michaelsilver/wikimap/branches{/branch}","tags_url":"https://api.github.com/repos/michaelsilver/wikimap/tags","blobs_url":"https://api.github.com/repos/michaelsilver/wikimap/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michaelsilver/wikimap/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michaelsilver/wikimap/git/refs{/sha}","trees_url":"https://api.github.com/repos/michaelsilver/wikimap/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michaelsilver/wikimap/statuses/{sha}","languages_url":"https://api.github.com/repos/michaelsilver/wikimap/languages","stargazers_url":"https://api.github.com/repos/michaelsilver/wikimap/stargazers","contributors_url":"https://api.github.com/repos/michaelsilver/wikimap/contributors","subscribers_url":"https://api.github.com/repos/michaelsilver/wikimap/subscribers","subscription_url":"https://api.github.com/repos/michaelsilver/wikimap/subscription","commits_url":"https://api.github.com/repos/michaelsilver/wikimap/commits{/sha}","git_commits_url":"https://api.github.com/repos/michaelsilver/wikimap/git/commits{/sha}","comments_url":"https://api.github.com/repos/michaelsilver/wikimap/comments{/number}","issue_comment_url":"https://api.github.com/repos/michaelsilver/wikimap/issues/comments{/number}","contents_url":"https://api.github.com/repos/michaelsilver/wikimap/contents/{+path}","compare_url":"https://api.github.com/repos/michaelsilver/wikimap/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michaelsilver/wikimap/merges","archive_url":"https://api.github.com/repos/michaelsilver/wikimap/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michaelsilver/wikimap/downloads","issues_url":"https://api.github.com/repos/michaelsilver/wikimap/issues{/number}","pulls_url":"https://api.github.com/repos/michaelsilver/wikimap/pulls{/number}","milestones_url":"https://api.github.com/repos/michaelsilver/wikimap/milestones{/number}","notifications_url":"https://api.github.com/repos/michaelsilver/wikimap/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michaelsilver/wikimap/labels{/name}","releases_url":"https://api.github.com/repos/michaelsilver/wikimap/releases{/id}","created_at":"2015-05-14T00:26:55Z","updated_at":"2015-07-13T20:47:00Z","pushed_at":"2015-07-27T15:46:00Z","git_url":"git://github.com/michaelsilver/wikimap.git","ssh_url":"git@github.com:michaelsilver/wikimap.git","clone_url":"https://github.com/michaelsilver/wikimap.git","svn_url":"https://github.com/michaelsilver/wikimap","homepage":"","size":1070,"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/michaelsilver/wikimap/pulls/3"},"html":{"href":"https://github.com/michaelsilver/wikimap/pull/3"},"issue":{"href":"https://api.github.com/repos/michaelsilver/wikimap/issues/3"},"comments":{"href":"https://api.github.com/repos/michaelsilver/wikimap/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/michaelsilver/wikimap/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/michaelsilver/wikimap/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/michaelsilver/wikimap/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/michaelsilver/wikimap/statuses/b9caa59dd2034d292794ab5e930081baabace35d"}}}}