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.0.tar.gz
(3.8 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.0.tar.gz.
File metadata
- Download URL: auto_code_fixer-0.1.0.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f66d251b4f3be4f387852100e44fb5b14ece14cdd49494875973d7f430e9d2c2
|
|
| MD5 |
3fef05d859fd9031e053309e4372c737
|
|
| BLAKE2b-256 |
097b903e53a7e4ce687c4c31b5309adc6007851cdf0ae9e74c601094839f117b
|
File details
Details for the file auto_code_fixer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: auto_code_fixer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.0 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 |
df53125aa5fc0be23d6dcd2c20c0bef392d53a6c82b1cfc234ae9ca16eb39ff5
|
|
| MD5 |
b67aa5a4ac450b543984e90f75512a41
|
|
| BLAKE2b-256 |
bbce718c92f33db89b39c6494aaf91e285ac2d9b657f6fb94c2580b42e59f08d
|