Metadata-Version: 2.4
Name: auto-code-fixer
Version: 0.1.8
Summary: Automatically fix Python code using ChatGPT
Author-email: Arif Shah <ashah7775@gmail.com>
License: MIT
Project-URL: Homepage, https://pypi.org/project/auto-code-fixer/
Project-URL: Source, https://bitbucket.org/arif_automation/auto_code_fixer
Project-URL: Issues, https://bitbucket.org/arif_automation/auto_code_fixer/issues
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: openai>=1.0.0
Requires-Dist: python-decouple
Dynamic: license-file

# 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)

```bash
pip install auto-code-fixer
