Automatically fix Python code using ChatGPT
Project description
Auto Code Fixer 🛠️🤖
Auto Code Fixer is a CLI tool that automatically detects runtime errors in Python code and fixes them using ChatGPT.
It:
- Recursively discovers imported local Python files
- Runs code in an isolated temp environment
- Auto-installs missing dependencies
- Iteratively fixes errors using GPT
- Safely updates files only after successful execution
✨ Features
- 🔍 Recursive import discovery
- 🧠 GPT-powered auto-fixing
- 📦 Auto-install missing Python libraries
- 🔁 Retry & fix loop
- 🛠 CLI-based (works from anywhere)
- 🔐 Safe overwrite handling
📦 Installation
Option 1: Install directly from Bitbucket (Public Repo)
pip install git+https://bitbucket.org/arif_automation/auto_code_fixer.git
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
auto_code_fixer-0.1.3.tar.gz
(4.3 kB
view details)
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 auto_code_fixer-0.1.3.tar.gz.
File metadata
- Download URL: auto_code_fixer-0.1.3.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ac4a73ee92ea2a4215133acb81c9d2ba551b28d5284d27ab90d1a4c91f71c3d
|
|
| MD5 |
beb53d50858beea0830c6ab0a6724b8c
|
|
| BLAKE2b-256 |
9f52168378cc32ab6868e375ff7aaf52692df5e7ec11aa50b42c0ab625e5a6b9
|
File details
Details for the file auto_code_fixer-0.1.3-py3-none-any.whl.
File metadata
- Download URL: auto_code_fixer-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11391c8413d35ac83f8303a8b2f455178d56627951f5b1809abf4f36be1ca509
|
|
| MD5 |
538c5766dc85a4b6e1ffb9f96a9bbab8
|
|
| BLAKE2b-256 |
97c1e6fa4b4010f3c3aa6cf3541db0cbe8318414f058a4c314be193c12831fe5
|