{"id":17223523,"url":"https://github.com/mlouielu/raises-stackoverflow","last_synced_at":"2025-04-14T00:23:49.300Z","repository":{"id":57459796,"uuid":"97695594","full_name":"mlouielu/raises-stackoverflow","owner":"mlouielu","description":"Raises' in the source code, all's right with the Stack Overflow","archived":false,"fork":false,"pushed_at":"2017-07-19T14:59:33.000Z","size":4,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-11T12:14:10.536Z","etag":null,"topics":["python","raises","stackoverflow"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mlouielu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-19T09:00:05.000Z","updated_at":"2023-07-15T09:07:14.000Z","dependencies_parsed_at":"2022-09-06T02:00:29.390Z","dependency_job_id":null,"html_url":"https://github.com/mlouielu/raises-stackoverflow","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlouielu%2Fraises-stackoverflow","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlouielu%2Fraises-stackoverflow/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlouielu%2Fraises-stackoverflow/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mlouielu%2Fraises-stackoverflow/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mlouielu","download_url":"https://codeload.github.com/mlouielu/raises-stackoverflow/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248800080,"owners_count":21163404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["python","raises","stackoverflow"],"created_at":"2024-10-15T04:08:31.746Z","updated_at":"2025-04-14T00:23:49.242Z","avatar_url":"https://github.com/mlouielu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Raises Stack Overflow\n--------------------\n\n*Raises' in your source code, all's right with the Stack Overflow*\n\n[![asciicast](https://asciinema.org/a/DZ1kWcdhIDr1l419wH8DM7UKj.png)](https://asciinema.org/a/DZ1kWcdhIDr1l419wH8DM7UKj)\n\nInstall\n-------\n\nPlease use `pip` to install `raises`\n\n```\n$ pip install raises\n```\n\n\nHow to use?\n-----------\n\nIs easy to use `raises` in your daily work, to help you find out raises error's\nanswer on Stack Overflow, simply `import raises` to your code, then done!\n\n```python\nimport raises  # To the top of your source code\n```\n\nExample\n-------\n\nFor example, if we type in `int(\"\")` to REPL, it will raise a `ValueError`:\n\n```python\n\u003e\u003e\u003e import raises\n\u003e\u003e\u003e int(\"\")\nTraceback (most recent call last):\n  File \"\u003cstdin\u003e\", line 1, in \u003cmodule\u003e\nValueError: invalid literal for int() with base 10: ''\n```\n\nYou should now saw a new tab in your browser, to find out the answer on\nStack Overflow!\n\n\nAPI\n---\n\n* raises.enable()\n\nTo enable the raises function\n\n* raises.disable()\n\nTo disable the raises function\n\n* raises.raiser\n\nThe core function of raises, it was the `sys.excepthook` replacer to handle\nevery exceptio, and to open a new browser with tabs.\n\n\nWhere is setup.py? You magically upload to PyPI without setup.py?\n-----------------------------------------------------------------\n\nIt is 2017, please use [flit](https://github.com/takluyver/flit)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlouielu%2Fraises-stackoverflow","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmlouielu%2Fraises-stackoverflow","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmlouielu%2Fraises-stackoverflow/lists"}