Skip to main content

This package adds links to google and stackoverflow search results to the end of uncaught exceptions in Python. It should work with either Python 2 or 3.

To install:

pip install excoverflow

To use, simply import the package in any project file for which you want internet results pages printed after the exception.

import excoverflow

Unhandled exception output will be appended with links to google and stackoverflow search results for python, the exception type, and the exception message; e.g.

Traceback (most recent call last):
  File "test.py", line 5, in <module>
    val = 5 / 0
ZeroDivisionError: division by zero

https://www.google.com/search?q=python+ZeroDivisionError+division+by+zero
https://stackoverflow.com/search?q=%5Bpython%5D+%22ZeroDivisionError+division+by+zero%22

Inspired by this reddit post https://www.reddit.com/r/ProgrammerHumor/comments/7z6x65/the_button_we_all_needed/

Metadata

Release files for excoverflow 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for excoverflow 0.1.0
File Size Uploaded
excoverflow-0.1.0.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for excoverflow 0.1.0
File Interpreter ABI Platform
excoverflow-0.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 6.8 kB

Release files / excoverflow-0.1.0.tar.gz

Download URL excoverflow-0.1.0.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
7312e6d9d9e6adb6398d26f41d2d9926aba82783adf4f9d564982288338c1ae2
BLAKE2b-256 checksum
How to use checksums
63d2dbc6af95b87678337b2a526d675e17988d94518d64412a426cac7a74eb24
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / excoverflow-0.1.0-py2.py3-none-any.whl

Download URL excoverflow-0.1.0-py2.py3-none-any.whl
Size 3.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
94fc8d0591569d12ae22570a3ff918a7598a225787ac2bfc41a0f7d2debdaa0f
BLAKE2b-256 checksum
How to use checksums
9514c04be9ad0cbc9bbd9768d501307e64eb4e2684507b596b1763f3cc83ad1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page