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
  • Yashwant

📜 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.2.tar.gz (5.1 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.2-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyfixai-0.1.2.tar.gz
  • Upload date:
  • Size: 5.1 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.2.tar.gz
Algorithm Hash digest
SHA256 f0d5fcda363acdf7a7159f8d78a2517f04a1a09bd1812c4fe7e7cb61c3e216a9
MD5 8fcd0cd08be0dd32519c069a0e70db5a
BLAKE2b-256 0489bc2fde1e490189d9ad730836f208658a907f6409214f708d1cacc0fe2f0d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyfixai-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4bf01d358a995fe24d8e6490fed8e77cf1a8655749d77df239dd92f1b8c37e2c
MD5 d6e83d236ea6a6e21024aa8151fc1f42
BLAKE2b-256 99331f37fe47d01f962fbf18fcf01a673fc5cf075e00a8047de41299264ba6ea

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