Skip to main content

AI-powered Python auto-debugger that detects and fixes code errors automatically

Project description

Python Status License

PyFixAI 🚀

PyFixAI is an intelligent Python auto-debugger that automatically detects, analyzes, and fixes errors in your code using an iterative execution engine.

Most of the People USe to ask Chatgpt or any ai tool to fix the code and again Paste it and run it This will be a Big process to run a project file So, we Found this library "Pyfixai" to debug fix reset and run your python code until it runs sucessfully!!..


✨ Features

  • 🔁 Automatic debugging loop
  • 🧠 Detects multiple Python errors
  • ⚡ Fixes code without manual intervention
  • 🛡️ Safe and controlled patching
  • 💻 Easy CLI usage

⚙️ How It Works

PyFixAI follows a smart cycle:

Run → Detect → Fix → Repeat
  1. Executes your Python script
  2. Captures errors and tracebacks
  3. Applies intelligent fixes
  4. Re-runs until successful

📦 Installation

pip install pyfixai

🚀 Usage

autofix run your_script.py

🧪 Example

❌ Before

def test():
    return "10" + 5

▶ Run

autofix run test.py

✅ After

def test():
    return "10" + str(5)

📁 Project Structure

pyfixai/
│
├── core.py
├── fixer.py
├── cli.py
└── utils.py

💡 Use Cases

  • Debugging student code
  • Fixing runtime errors quickly
  • Automating repetitive debugging tasks

🔮 Future Plans

  • AST-based fixing
  • AI-powered debugging
  • IDE integrations

👨‍💻 Team

  • Akhila Bodduri
  • ANIMIREDDY YASWANTH

📜 License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfixai-0.1.3.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfixai-0.1.3-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file pyfixai-0.1.3.tar.gz.

File metadata

  • Download URL: pyfixai-0.1.3.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for pyfixai-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e692da6f2d6a9103662bd55aaafe2c733abe67a230d3bdf338e830d984f9e775
MD5 4370052f0a2e95612cc874bc31afc40d
BLAKE2b-256 f36e57268678cc1d8c09c912dd0c5c575cebece5bb5c7b8ff5c5b5a0eb31ed8d

See more details on using hashes here.

File details

Details for the file pyfixai-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: pyfixai-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.9

File hashes

Hashes for pyfixai-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b66c3c48a303d73131ce4f7c4ef20ed94f017c9b46ef98d778044b1decb84294
MD5 a17ea9772ed08b46e6c5cdfba7c73159
BLAKE2b-256 8bcd0ad151895fe8b6cc8f3779a5b73772e36bd3619fb5e2261b23aa519960de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page