{"action":"closed","issue":{"url":"https://api.github.com/repos/scopatz/xonsh/issues/107","labels_url":"https://api.github.com/repos/scopatz/xonsh/issues/107/labels{/name}","comments_url":"https://api.github.com/repos/scopatz/xonsh/issues/107/comments","events_url":"https://api.github.com/repos/scopatz/xonsh/issues/107/events","html_url":"https://github.com/scopatz/xonsh/issues/107","id":63090966,"number":107,"title":"Import Hooks for xonsh source files","user":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/scopatz/xonsh/labels/feature","name":"feature","color":"009800"},{"url":"https://api.github.com/repos/scopatz/xonsh/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/scopatz/xonsh/milestones/1","html_url":"https://github.com/scopatz/xonsh/milestones/v0.2","labels_url":"https://api.github.com/repos/scopatz/xonsh/milestones/1/labels","id":1013181,"number":1,"title":"v0.2","description":"","creator":{"login":"scopatz","id":320553,"avatar_url":"https://avatars.githubusercontent.com/u/320553?v=3","gravatar_id":"","url":"https://api.github.com/users/scopatz","html_url":"https://github.com/scopatz","followers_url":"https://api.github.com/users/scopatz/followers","following_url":"https://api.github.com/users/scopatz/following{/other_user}","gists_url":"https://api.github.com/users/scopatz/gists{/gist_id}","starred_url":"https://api.github.com/users/scopatz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scopatz/subscriptions","organizations_url":"https://api.github.com/users/scopatz/orgs","repos_url":"https://api.github.com/users/scopatz/repos","events_url":"https://api.github.com/users/scopatz/events{/privacy}","received_events_url":"https://api.github.com/users/scopatz/received_events","type":"User","site_admin":false},"open_issues":34,"closed_issues":126,"state":"open","created_at":"2015-03-09T18:29:10Z","updated_at":"2015-03-30T04:04:08Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-03-19T21:07:32Z","updated_at":"2015-03-30T04:04:08Z","closed_at":"2015-03-30T04:04:08Z","body":"We should have import hooks [1] that allow for xonsh modules to be imported using the normal import mechanism.  I don't think this would be super hard, but it would be awesome to have.\r\n\r\n1. https://docs.python.org/3/reference/import.html"}}