{"action":"created","comment":{"url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/comments/125120358","pull_request_review_id":47484638,"id":125120358,"diff_hunk":"@@ -0,0 +1,177 @@\n+import re\r\n+from templates.text import TextTemplate\r\n+\r\n+meter = {'meter': 1, 'kilometer': 0.001, 'centimeter': 100,\r\n+       'millimeter': 1000, 'micrometer': 1000000, 'nanometer': 10**9,\r\n+       'mile': 0.0006213689, 'yard': 1.0936132983, 'foot': 3.280839895,\r\n+       'inch': 39.37007874, 'light year': 1.057008707*10**(-16)}\r\n+\r\n+celcius = {'celcius': 1, 'kelvin': 274.15, 'farenheit': 33.8}\r\n+\r\n+squareMeter = {'square meter': 1,'square kilometer': 0.001**2, \r\n+             'square centimeter': 100**2,'square millimeter': 1000**2,\r\n+                'square mile': 0.0006213689**2, 'square yard': 1.0936132983**2,\r\n+                'square foot': 3.280839895**2, 'square inch': 39.37007874**2}\r\n+\r\n+cubicMeter = {'cubic meter':1, 'cubic kilometer': 0.001**3,' cubic centimeter': 100**3,\r\n+        'cubic millimeter': 1000**3}\r\n+\r\n+liter = {'liter': 1, 'milliliter': 1000, 'gallon': 0.2641721769,\r\n+        'quart': 1.0566887074, 'pint': 2.1133774149, 'cup': 4.2267548297}\r\n+        \r\n+gram = {'kilogram': 0.001, 'gram': 1, 'milligram': 1000,'metric ton': 0.000001,\r\n+        'long ton': 9.842073304*10**(-7), 'short ton': 0.0000011023,\r\n+         'pound': 0.0022046244, 'ounce': 0.0352739907, 'carrat': 5,\r\n+        'atomic mass unit': 6.022136652*10**(23)}\r\n+        \r\n+minute = {'second': 60, 'millisecond': 60000, 'microsecond': 60**7, 'nanosecond': 60**10,\r\n+        'picosecond': 60**13, 'minute': 1, 'hour': 60*0.0002777778, 'day': 60*0.0000115741,\r\n+        'week': 60*0.0000016534, 'month': 60*3.802570537*10**(-7)}\r\n+        \r\n+abbreviation = {'m': 'meter', 'km': 'kilometer', 'cm': 'centimeter','mm': 'millimeter',\r\n+                'nm': 'nanometer','ft': 'foot','c': 'celcius','f': 'farenheit',\r","path":"modules/src/Github Jarvis Conversion.py","position":32,"original_position":32,"commit_id":"910ff06cfdfd95ddbbd4610a3da6973e4cde8fa1","original_commit_id":"910ff06cfdfd95ddbbd4610a3da6973e4cde8fa1","user":{"login":"stickler-ci","id":16011037,"avatar_url":"https://avatars0.githubusercontent.com/u/16011037?v=3","gravatar_id":"","url":"https://api.github.com/users/stickler-ci","html_url":"https://github.com/stickler-ci","followers_url":"https://api.github.com/users/stickler-ci/followers","following_url":"https://api.github.com/users/stickler-ci/following{/other_user}","gists_url":"https://api.github.com/users/stickler-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/stickler-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stickler-ci/subscriptions","organizations_url":"https://api.github.com/users/stickler-ci/orgs","repos_url":"https://api.github.com/users/stickler-ci/repos","events_url":"https://api.github.com/users/stickler-ci/events{/privacy}","received_events_url":"https://api.github.com/users/stickler-ci/received_events","type":"User","site_admin":false},"body":"E231 missing whitespace after ','","created_at":"2017-06-30T20:04:56Z","updated_at":"2017-06-30T20:04:57Z","html_url":"https://github.com/swapagarwal/JARVIS-on-Messenger/pull/225#discussion_r125120358","pull_request_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/225","_links":{"self":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/comments/125120358"},"html":{"href":"https://github.com/swapagarwal/JARVIS-on-Messenger/pull/225#discussion_r125120358"},"pull_request":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/225"}}},"pull_request":{"url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/225","id":128344980,"html_url":"https://github.com/swapagarwal/JARVIS-on-Messenger/pull/225","diff_url":"https://github.com/swapagarwal/JARVIS-on-Messenger/pull/225.diff","patch_url":"https://github.com/swapagarwal/JARVIS-on-Messenger/pull/225.patch","issue_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/issues/225","number":225,"state":"open","locked":false,"title":"Conversion Program","user":{"login":"abrahamalbert18","id":24683245,"avatar_url":"https://avatars1.githubusercontent.com/u/24683245?v=3","gravatar_id":"","url":"https://api.github.com/users/abrahamalbert18","html_url":"https://github.com/abrahamalbert18","followers_url":"https://api.github.com/users/abrahamalbert18/followers","following_url":"https://api.github.com/users/abrahamalbert18/following{/other_user}","gists_url":"https://api.github.com/users/abrahamalbert18/gists{/gist_id}","starred_url":"https://api.github.com/users/abrahamalbert18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrahamalbert18/subscriptions","organizations_url":"https://api.github.com/users/abrahamalbert18/orgs","repos_url":"https://api.github.com/users/abrahamalbert18/repos","events_url":"https://api.github.com/users/abrahamalbert18/events{/privacy}","received_events_url":"https://api.github.com/users/abrahamalbert18/received_events","type":"User","site_admin":false},"body":"This is a simple conversion module coded by me. It doesn't use any api's from other conversion websites \r\nPlease check this module  and let me know if any changes required. @swapagarwal \r\nHere's the syntax: \r\n             1 m in km, 1 yd in ft,\r\n             1 meter in kilometer\r\n            1 sq cm in m,\r\n            100 cubic meter in cubic millimeter,\r\n            10 L in gallon,\r\n            1 kg in lb, \r\n            98.4 F in celcius","created_at":"2017-06-30T10:53:39Z","updated_at":"2017-06-30T20:04:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/225/commits","review_comments_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/225/comments","review_comment_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/issues/225/comments","statuses_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/statuses/910ff06cfdfd95ddbbd4610a3da6973e4cde8fa1","head":{"label":"abrahamalbert18:master","ref":"master","sha":"910ff06cfdfd95ddbbd4610a3da6973e4cde8fa1","user":{"login":"abrahamalbert18","id":24683245,"avatar_url":"https://avatars1.githubusercontent.com/u/24683245?v=3","gravatar_id":"","url":"https://api.github.com/users/abrahamalbert18","html_url":"https://github.com/abrahamalbert18","followers_url":"https://api.github.com/users/abrahamalbert18/followers","following_url":"https://api.github.com/users/abrahamalbert18/following{/other_user}","gists_url":"https://api.github.com/users/abrahamalbert18/gists{/gist_id}","starred_url":"https://api.github.com/users/abrahamalbert18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrahamalbert18/subscriptions","organizations_url":"https://api.github.com/users/abrahamalbert18/orgs","repos_url":"https://api.github.com/users/abrahamalbert18/repos","events_url":"https://api.github.com/users/abrahamalbert18/events{/privacy}","received_events_url":"https://api.github.com/users/abrahamalbert18/received_events","type":"User","site_admin":false},"repo":{"id":94974960,"name":"JARVIS-on-Messenger","full_name":"abrahamalbert18/JARVIS-on-Messenger","owner":{"login":"abrahamalbert18","id":24683245,"avatar_url":"https://avatars1.githubusercontent.com/u/24683245?v=3","gravatar_id":"","url":"https://api.github.com/users/abrahamalbert18","html_url":"https://github.com/abrahamalbert18","followers_url":"https://api.github.com/users/abrahamalbert18/followers","following_url":"https://api.github.com/users/abrahamalbert18/following{/other_user}","gists_url":"https://api.github.com/users/abrahamalbert18/gists{/gist_id}","starred_url":"https://api.github.com/users/abrahamalbert18/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abrahamalbert18/subscriptions","organizations_url":"https://api.github.com/users/abrahamalbert18/orgs","repos_url":"https://api.github.com/users/abrahamalbert18/repos","events_url":"https://api.github.com/users/abrahamalbert18/events{/privacy}","received_events_url":"https://api.github.com/users/abrahamalbert18/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/abrahamalbert18/JARVIS-on-Messenger","description":":speech_balloon: A community-driven python bot that aims to be as simple as possible to serve humans with their everyday tasks","fork":true,"url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger","forks_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/forks","keys_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/teams","hooks_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/hooks","issue_events_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/issues/events{/number}","events_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/events","assignees_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/assignees{/user}","branches_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/branches{/branch}","tags_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/tags","blobs_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/statuses/{sha}","languages_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/languages","stargazers_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/stargazers","contributors_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/contributors","subscribers_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/subscribers","subscription_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/subscription","commits_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/contents/{+path}","compare_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/merges","archive_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/downloads","issues_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/issues{/number}","pulls_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/pulls{/number}","milestones_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/milestones{/number}","notifications_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/labels{/name}","releases_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/releases{/id}","deployments_url":"https://api.github.com/repos/abrahamalbert18/JARVIS-on-Messenger/deployments","created_at":"2017-06-21T07:18:20Z","updated_at":"2017-06-21T07:18:21Z","pushed_at":"2017-06-30T20:04:28Z","git_url":"git://github.com/abrahamalbert18/JARVIS-on-Messenger.git","ssh_url":"git@github.com:abrahamalbert18/JARVIS-on-Messenger.git","clone_url":"https://github.com/abrahamalbert18/JARVIS-on-Messenger.git","svn_url":"https://github.com/abrahamalbert18/JARVIS-on-Messenger","homepage":"http://m.me/J.A.R.V.I.S.on.Messenger","size":165,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"swapagarwal:master","ref":"master","sha":"15091ff503c0170a67c3b3fc9440573de7d3fa07","user":{"login":"swapagarwal","id":2833845,"avatar_url":"https://avatars2.githubusercontent.com/u/2833845?v=3","gravatar_id":"","url":"https://api.github.com/users/swapagarwal","html_url":"https://github.com/swapagarwal","followers_url":"https://api.github.com/users/swapagarwal/followers","following_url":"https://api.github.com/users/swapagarwal/following{/other_user}","gists_url":"https://api.github.com/users/swapagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/swapagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapagarwal/subscriptions","organizations_url":"https://api.github.com/users/swapagarwal/orgs","repos_url":"https://api.github.com/users/swapagarwal/repos","events_url":"https://api.github.com/users/swapagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/swapagarwal/received_events","type":"User","site_admin":false},"repo":{"id":56448902,"name":"JARVIS-on-Messenger","full_name":"swapagarwal/JARVIS-on-Messenger","owner":{"login":"swapagarwal","id":2833845,"avatar_url":"https://avatars2.githubusercontent.com/u/2833845?v=3","gravatar_id":"","url":"https://api.github.com/users/swapagarwal","html_url":"https://github.com/swapagarwal","followers_url":"https://api.github.com/users/swapagarwal/followers","following_url":"https://api.github.com/users/swapagarwal/following{/other_user}","gists_url":"https://api.github.com/users/swapagarwal/gists{/gist_id}","starred_url":"https://api.github.com/users/swapagarwal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/swapagarwal/subscriptions","organizations_url":"https://api.github.com/users/swapagarwal/orgs","repos_url":"https://api.github.com/users/swapagarwal/repos","events_url":"https://api.github.com/users/swapagarwal/events{/privacy}","received_events_url":"https://api.github.com/users/swapagarwal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/swapagarwal/JARVIS-on-Messenger","description":":speech_balloon: A community-driven python bot that aims to be as simple as possible to serve humans with their everyday tasks","fork":false,"url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger","forks_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/forks","keys_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/teams","hooks_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/hooks","issue_events_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/issues/events{/number}","events_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/events","assignees_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/assignees{/user}","branches_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/branches{/branch}","tags_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/tags","blobs_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/git/refs{/sha}","trees_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/statuses/{sha}","languages_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/languages","stargazers_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/stargazers","contributors_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/contributors","subscribers_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/subscribers","subscription_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/subscription","commits_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/commits{/sha}","git_commits_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/git/commits{/sha}","comments_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/comments{/number}","issue_comment_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/issues/comments{/number}","contents_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/contents/{+path}","compare_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/merges","archive_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/downloads","issues_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/issues{/number}","pulls_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls{/number}","milestones_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/milestones{/number}","notifications_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/labels{/name}","releases_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/releases{/id}","deployments_url":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/deployments","created_at":"2016-04-17T17:19:24Z","updated_at":"2017-06-29T10:52:59Z","pushed_at":"2017-06-30T20:04:29Z","git_url":"git://github.com/swapagarwal/JARVIS-on-Messenger.git","ssh_url":"git@github.com:swapagarwal/JARVIS-on-Messenger.git","clone_url":"https://github.com/swapagarwal/JARVIS-on-Messenger.git","svn_url":"https://github.com/swapagarwal/JARVIS-on-Messenger","homepage":"http://m.me/J.A.R.V.I.S.on.Messenger","size":179,"stargazers_count":460,"watchers_count":460,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":267,"mirror_url":null,"open_issues_count":57,"forks":267,"open_issues":57,"watchers":460,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/225"},"html":{"href":"https://github.com/swapagarwal/JARVIS-on-Messenger/pull/225"},"issue":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/issues/225"},"comments":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/issues/225/comments"},"review_comments":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/225/comments"},"review_comment":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/pulls/225/commits"},"statuses":{"href":"https://api.github.com/repos/swapagarwal/JARVIS-on-Messenger/statuses/910ff06cfdfd95ddbbd4610a3da6973e4cde8fa1"}}}}
{"actor":{"display_login":"stickler-ci"}}