Metadata-Version: 2.4
Name: auto-code-fixer
Version: 0.1.4
Summary: Automatically fix Python code using ChatGPT
Author-email: Arif Shah <ashah7775@gmail.com>
License: MIT
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: openai>=1.0.0
Requires-Dist: python-decouple

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

```bash
pip install git+https://bitbucket.org/arif_automation/auto_code_fixer.git
