https://github.com/spaciouscoder78/pyoverflow3
Complete Rewrite of pyoverflow library from Python 2 to Python 3 -- File new issues at https://codeberg.org/SpaciousCoder78/pyoverflow3
https://github.com/spaciouscoder78/pyoverflow3
pypi python3 stackoverflow-search
Last synced: 7 months ago
JSON representation
Complete Rewrite of pyoverflow library from Python 2 to Python 3 -- File new issues at https://codeberg.org/SpaciousCoder78/pyoverflow3
- Host: GitHub
- URL: https://github.com/spaciouscoder78/pyoverflow3
- Owner: SpaciousCoder78
- License: mit
- Archived: true
- Created: 2025-06-07T10:43:53.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-06-07T12:37:39.000Z (11 months ago)
- Last Synced: 2025-08-27T03:41:19.440Z (8 months ago)
- Topics: pypi, python3, stackoverflow-search
- Language: Python
- Homepage: https://pypi.org/project/pyoverflow3/
- Size: 26.4 KB
- Stars: 1
- Watchers: 0
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyoverflow3




Complete Rewrite of pyoverflow library from Python 2 to Python 3
Original pyoverflow Library based on Python 2: https://pypi.org/project/pyoverflow/
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
```sh
$ pip install pyoverflow3
```
## Getting Started
Import the package
```py
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**:
```py
#!/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 :)
```