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
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
from pyoverflow3.pyoverflow3 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 from pyoverflow3.pyoverflow3 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyoverflow3-1.0.2.tar.gz.
File metadata
- Download URL: pyoverflow3-1.0.2.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1954834dd54249578a7f10264f98b043d989e4261effa4ae138a8926701fa7cf
|
|
| MD5 |
55ef6005f8cd82884f5b7fc761cd6027
|
|
| BLAKE2b-256 |
9eba37c50ef4e0e1472b40fdfffc24067a1a49cfe95b9b5a753c77fe7716cb79
|
File details
Details for the file pyoverflow3-1.0.2-py3-none-any.whl.
File metadata
- Download URL: pyoverflow3-1.0.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
db3efb001f8451e08f5f9f03849bc42bf38784cc6551a86cc3844277719e514e
|
|
| MD5 |
80f011c4bd16a5580085d4c61e819a03
|
|
| BLAKE2b-256 |
a3b456bec926c5b975a213086b2ba970e573191742c428226ffbcc0e80dbe335
|