Skip to content

Commit 727412e

Browse files
final commit for v1.0.1
1 parent 7254f08 commit 727412e

12 files changed

+166
-2
lines changed

README.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,65 @@
11
# pyoverflow3
22
Complete Rewrite of pyoverflow library from Python 2 to Python 3
3+
4+
A Python Library for Quick Debugging of Errors using StackOverflow
5+
6+
A complete rewritten library in Python3 based on pyoverflow library which was based on Python2
7+
8+
## Supported Features
9+
- Quick Search of errors on StackOverflow for Python
10+
11+
## Planned Features
12+
Integration with other languages like:
13+
- Java
14+
- JavaScript
15+
- C
16+
- C++ and many more
17+
18+
## Installation
19+
20+
```sh
21+
$ pip install pyoverflow3
22+
```
23+
24+
## Getting Started
25+
26+
Import the package
27+
28+
```py
29+
import pyoverflow3
30+
```
31+
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)`
32+
33+
Once an error gets generated, the library gets called and it instantly shows you possible solutions for your error.
34+
35+
## Documentation
36+
37+
### Available Methods
38+
- `pyoverflow3.submit_error(err_msg,no_solution)`
39+
40+
Accepted arguments 2:
41+
err_msg: pass the error message from try-except block
42+
no_solution: pass the number of solutions you need to display
43+
44+
**Usage**:
45+
46+
```py
47+
#!/usr/bin/env python
48+
49+
import pyoverflow3
50+
51+
a = int(input("Enter first number"))
52+
53+
b = int(input("Enter second number"))
54+
55+
56+
try:
57+
div = a/b
58+
print(div)
59+
60+
except Exception as e:
61+
#Error message and number of solutions
62+
pyoverflow3.submit_error(str(e),2)
63+
64+
#Wait for the magic :)
65+
```
2.96 KB
Binary file not shown.

dist/pyoverflow3-1.0.0.tar.gz

3.67 KB
Binary file not shown.
3.52 KB
Binary file not shown.

dist/pyoverflow3-1.0.1.tar.gz

3.67 KB
Binary file not shown.

pyoverflow3.egg-info/PKG-INFO

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
Metadata-Version: 2.4
2+
Name: pyoverflow3
3+
Version: 1.0.1
4+
Summary: A Python3 Version of pyoverflow library used for quick debugging of errors
5+
Home-page: https://github.com/SpaciousCoder78/pyoverflow3
6+
Author: Aryan Karamtoth
7+
Author-email: Aryan Karamtoth <aryankmmiv@outlook.com>
8+
License: MIT License
9+
Project-URL: Homepage, https://github.com/SpaciousCoder78/pyoverflow3
10+
Project-URL: Issues, https://github.com/SpaciousCoder78/pyoverflow3/issues
11+
Classifier: Programming Language :: Python :: 3
12+
Classifier: License :: OSI Approved :: MIT License
13+
Classifier: Operating System :: OS Independent
14+
Requires-Python: >=3.12
15+
Description-Content-Type: text/markdown
16+
License-File: LICENSE
17+
Requires-Dist: googlesearch-python
18+
Dynamic: author
19+
Dynamic: home-page
20+
Dynamic: license-file
21+
22+
# pyoverflow3
23+
Complete Rewrite of pyoverflow library from Python 2 to Python 3
24+
25+
A Python Library for Quick Debugging of Errors using StackOverflow
26+
27+
A complete rewritten library in Python3 based on pyoverflow library which was based on Python2
28+
29+
## Supported Features
30+
- Quick Search of errors on StackOverflow for Python
31+
32+
## Planned Features
33+
Integration with other languages like:
34+
- Java
35+
- JavaScript
36+
- C
37+
- C++ and many more
38+
39+
## Installation
40+
41+
```sh
42+
$ pip install pyoverflow3
43+
```
44+
45+
## Getting Started
46+
47+
Import the package
48+
49+
```py
50+
import pyoverflow3
51+
```
52+
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)`
53+
54+
Once an error gets generated, the library gets called and it instantly shows you possible solutions for your error.
55+
56+
## Documentation
57+
58+
### Available Methods
59+
- `pyoverflow3.submit_error(err_msg,no_solution)`
60+
61+
Accepted arguments 2:
62+
err_msg: pass the error message from try-except block
63+
no_solution: pass the number of solutions you need to display
64+
65+
**Usage**:
66+
67+
```py
68+
#!/usr/bin/env python
69+
70+
import pyoverflow3
71+
72+
a = int(input("Enter first number"))
73+
74+
b = int(input("Enter second number"))
75+
76+
77+
try:
78+
div = a/b
79+
print(div)
80+
81+
except Exception as e:
82+
#Error message and number of solutions
83+
pyoverflow3.submit_error(str(e),2)
84+
85+
#Wait for the magic :)
86+
```

pyoverflow3.egg-info/SOURCES.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
LICENSE
2+
README.md
3+
pyproject.toml
4+
setup.py
5+
pyoverflow3/__init__.py
6+
pyoverflow3/pyoverflow3.py
7+
pyoverflow3.egg-info/PKG-INFO
8+
pyoverflow3.egg-info/SOURCES.txt
9+
pyoverflow3.egg-info/dependency_links.txt
10+
pyoverflow3.egg-info/requires.txt
11+
pyoverflow3.egg-info/top_level.txt
12+
tests/test_pyoverflow3.py
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+

pyoverflow3.egg-info/requires.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
googlesearch-python

pyoverflow3.egg-info/top_level.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyoverflow3

0 commit comments

Comments
 (0)