{"action":"opened","issue":{"url":"https://api.github.com/repos/JukkaL/mypy/issues/953","labels_url":"https://api.github.com/repos/JukkaL/mypy/issues/953/labels{/name}","comments_url":"https://api.github.com/repos/JukkaL/mypy/issues/953/comments","events_url":"https://api.github.com/repos/JukkaL/mypy/issues/953/events","html_url":"https://github.com/JukkaL/mypy/issues/953","id":112040794,"number":953,"title":"Make the stub generator official","user":{"login":"JukkaL","id":1107911,"avatar_url":"https://avatars.githubusercontent.com/u/1107911?v=3","gravatar_id":"","url":"https://api.github.com/users/JukkaL","html_url":"https://github.com/JukkaL","followers_url":"https://api.github.com/users/JukkaL/followers","following_url":"https://api.github.com/users/JukkaL/following{/other_user}","gists_url":"https://api.github.com/users/JukkaL/gists{/gist_id}","starred_url":"https://api.github.com/users/JukkaL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JukkaL/subscriptions","organizations_url":"https://api.github.com/users/JukkaL/orgs","repos_url":"https://api.github.com/users/JukkaL/repos","events_url":"https://api.github.com/users/JukkaL/events{/privacy}","received_events_url":"https://api.github.com/users/JukkaL/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/JukkaL/mypy/labels/documentation","name":"documentation","color":"0b02e1"},{"url":"https://api.github.com/repos/JukkaL/mypy/labels/feature","name":"feature","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-18T20:56:15Z","updated_at":"2015-10-18T20:56:15Z","closed_at":null,"body":"The stub generator is pretty useful, but it's undocumented and a little rough around the edges. \r\n\r\nSome possible things to do:\r\n\r\n* Add script such as `mypy-stubgen` that is installed automatically and has help etc.\r\n* Document the stub generator.\r\n* Maybe even give a pointer to the stub generator when mypy can't find a module (#952).\r\n* Do more testing and polishing.\r\n* Add support for generating stubs for Python 2 C extension modules.\r\n\r\nWe should create separate issues at least for the bigger tasks here.\r\n\r\nThe stub generator can be currently run as `python3 -m mypy.stubgen`."}}