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.2.tar.gz
(4.1 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.2.tar.gz.
File metadata
- Download URL: auto_code_fixer-0.1.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8703ed87a04acd70c55dac9efbd725cbe9f8ccaa60374f90b823c40088d946cb
|
|
| MD5 |
19f943c1d5a217f480c80c6d986ff9f9
|
|
| BLAKE2b-256 |
6e4a024dbe0d7c2b4631fd8c77b839f7fcb546c7d1a76e7b2a3de7fb6dda8755
|
File details
Details for the file auto_code_fixer-0.1.2-py3-none-any.whl.
File metadata
- Download URL: auto_code_fixer-0.1.2-py3-none-any.whl
- Upload date:
- Size: 5.5 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 |
e0def996c42a7cb38ba28b75e82d6757a2d7c7c8a597c623aefcd9fbc39dc0e6
|
|
| MD5 |
62b80481737049aca3e1a19619684315
|
|
| BLAKE2b-256 |
e446aa941dbac9df65587295a113d91c436578fccd9b648545fd91b1fea9e31c
|