https://github.com/beomi/gptpy
GPTPy: Your kind Python guide, powered by AI to fix errors and explain code
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.1%) to scientific vocabulary
Keywords
Repository
GPTPy: Your kind Python guide, powered by AI to fix errors and explain code
Basic Info
- Host: GitHub
- Owner: Beomi
- Language: Python
- Default Branch: main
- Homepage: https://pypi.org/project/gptpy
- Size: 9.77 KB
Statistics
- Stars: 14
- Watchers: 2
- Forks: 1
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
GPTPy: Your kind Python guide, powered by AI to fix errors and explain code
Installation
bash
pip install -U gptpy
Usage
Simply run your code
bash
gptpy runnable_python_code.py
..or run with arguments
bash
gptpy runnable_python_code.py --arg1=1 --arg2=2
Example
Here's a simple Python code, which has a syntax error.
```python
test.py
def add(a, b): print("a + b) ```
If you run test.py, you will get an error.
$ python test.py
File "~/test.py", line 1
print("a + b)
^
SyntaxError: EOL while scanning string literal
Now, let's use gptpy to fix the error.
```
$ gptpy test.py
[GPTPy] Your code has an error! [GPTPy] Error Reason:
The user code is missing a closing quotation mark.
SyntaxError: EOL while scanning string literal
[GPTPy] Here's fixed code:
print("a + b")
```
Limitations
- GPT-3 is not perfect. It may not be able to fix all errors.
- It may take a while to get the result.
GitHub Events
Total
Last Year
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| Junbum Lee | j****n@b****t | 11 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- pypi 38 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 7
- Total maintainers: 1
pypi.org: gptpy
GPTPy: Your kind Python guide, powered by AI to fix errors and explain code
- Homepage: https://github.com/beomi/gptpy
- Documentation: https://gptpy.readthedocs.io/
-
Latest release: 0.1.6
published almost 3 years ago
Rankings
Maintainers (1)
Dependencies
- requests *