Skip to main content

This project is for people who new to python and cannot understand what's wrong with their code,

if your code raise an Exception, the code will automatically search for a fix on google and print a link on the terminal

Installation

pip install googlesearcherror

Usage

put this code at the top of your code

from googlesearcherror import googlesearcherror
googlesearcherror.searcherror()

Example:

Input:

from googlesearcherror import googlesearcherror
googlesearcherror.searcherror()

print(0/0)

Output:

 File "test.py", line 4, in <module>
    print(0/0)
ZeroDivisionError: division by zero

-->  https://www.google.com/search?q=python+ZeroDivisionError++division+by+zero+site:stackoverflow.com

Metadata

Release files for googlesearcherror 0.0.2

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

Source distribution (sdist)

Source distribution for googlesearcherror 0.0.2
File Size Uploaded Provenance
googlesearcherror-0.0.2.tar.gz 2.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for googlesearcherror 0.0.2
File Interpreter ABI Platform
googlesearcherror-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / googlesearcherror-0.0.2.tar.gz

Download URL googlesearcherror-0.0.2.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f1ff7b0c3626d2c5f5224341d5e994bea09b12601b60f8edecbbca10a913d15c
BLAKE2b-256 checksum
How to use checksums
88b9992d2ce1c1bb6e6bf0aa3ec2924407be5b317d853681f464538040d8b889
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / googlesearcherror-0.0.2-py3-none-any.whl

Download URL googlesearcherror-0.0.2-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bafec6e60221649692ec54e8e4aecdc77a7169351ff8843845882d4717f5a543
BLAKE2b-256 checksum
How to use checksums
e8d5aec0e75aecb5d345cf49a5dd5f51f720436ff0f1cbf994a260320f3c93be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Security for googlesearcherror 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

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