Skip to main content

A Python3 Version of pyoverflow library used for quick debugging of errors

Project description

pyoverflow3

Complete Rewrite of pyoverflow library from Python 2 to Python 3

A Python Library for Quick Debugging of Errors using StackOverflow

A complete rewritten library in Python3 based on pyoverflow library which was based on Python2

Supported Features

  • Quick Search of errors on StackOverflow for Python

Planned Features

Integration with other languages like:

  • Java
  • JavaScript
  • C
  • C++ and many more

Installation

$ pip install pyoverflow3

Getting Started

Import the package

import pyoverflow3

Create a .py file and include try-except block where you may expect an error and pass the error and number of solutions into pyoverflow3.submit_error(err_msg,no_solutions)

Once an error gets generated, the library gets called and it instantly shows you possible solutions for your error.

Documentation

Available Methods

  • pyoverflow3.submit_error(err_msg,no_solution)

    Accepted arguments 2: err_msg: pass the error message from try-except block no_solution: pass the number of solutions you need to display

    Usage:

    #!/usr/bin/env python
    
     import pyoverflow3
    
    a = int(input("Enter first number"))
    
    b = int(input("Enter second number"))
    
    
    try:
        div = a/b
        print(div)
    
    except Exception as e:
        #Error message and number of solutions
        pyoverflow3.submit_error(str(e),2)
    
    #Wait for the magic :)
    

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyoverflow3-1.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyoverflow3-1.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file pyoverflow3-1.0.1.tar.gz.

File metadata

  • Download URL: pyoverflow3-1.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyoverflow3-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3ccd1642f2369904af3b040a3fa335fcdb2203cddb088205af7537fcbcdc0c5f
MD5 e802a39db140a3be9fa9da488834dff1
BLAKE2b-256 cf02800db93a1ca04ade82094e5fe19f0788c19ba486c8c8279a31572fb727c3

See more details on using hashes here.

File details

Details for the file pyoverflow3-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyoverflow3-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for pyoverflow3-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6430b815ea6195c367aa41da30fc8d182c460f6ddda5c6471f23d00e553797bd
MD5 acc225cfd6dfb434e40c6b9539102f28
BLAKE2b-256 cbd7af011dfb82fcc61f52fa83fdca44301eba843145f5bf9c06063ef903c70e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page