https://github.com/beomi/gptpy

GPTPy: Your kind Python guide, powered by AI to fix errors and explain code

https://github.com/beomi/gptpy

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

chatgpt codex gpt-3 python
Last synced: 5 months ago · JSON representation

Repository

GPTPy: Your kind Python guide, powered by AI to fix errors and explain code

Basic Info
Statistics
  • Stars: 14
  • Watchers: 2
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
chatgpt codex gpt-3 python
Created almost 3 years ago · Last pushed almost 3 years ago
Metadata Files
Readme

README.md

GPTPy: Your kind Python guide, powered by AI to fix errors and explain code

asciicast

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

All Time
  • Total Commits: 11
  • Total Committers: 1
  • Avg Commits per committer: 11.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email 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

  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 38 Last month
Rankings
Dependent packages count: 6.6%
Downloads: 10.4%
Average: 21.3%
Stargazers count: 28.2%
Forks count: 30.5%
Dependent repos count: 30.6%
Maintainers (1)
Last synced: 6 months ago

Dependencies

setup.py pypi
  • requests *