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
✅ Recommended (Install from PyPI)
pip install auto-code-fixer
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.2.6.tar.gz
(5.4 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.2.6.tar.gz.
File metadata
- Download URL: auto_code_fixer-0.2.6.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dad741144ab7936233e8c97993bfd7e73d6ab41952263767e450b5993dcab4ff
|
|
| MD5 |
9f76060e9d7b220eac319dc4ff520c71
|
|
| BLAKE2b-256 |
be9998a90a3c057d0068fe9b1e0294bef3316a038686d31a5c047b1c2c8cc176
|
File details
Details for the file auto_code_fixer-0.2.6-py3-none-any.whl.
File metadata
- Download URL: auto_code_fixer-0.2.6-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
af108db22ead316b7ef80790173d34e491c1f3934a37120d8f18e8eacae70d69
|
|
| MD5 |
9c3aa08c2979e201f47830e5ae808399
|
|
| BLAKE2b-256 |
6b02ae837f2f0700f76222084ef77524898bfe6648e64e127c09be5025d31976
|