Metadata-Version: 2.4
Name: auto-code-fixer
Version: 0.1.2
Summary: Automatically fix Python code using ChatGPT
Author: Arif Shah
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
