Skip to main content

Automatically detect and fix Python errors - never debug again

Project description

Bug-Be-Gone

Automatically detect and fix Python errors. Never debug again.

Bug-Be-Gone iterates through your broken code, detects errors, applies fixes, and repeats until everything works. Point it at any Python script and watch it fix itself.

Installation

pip install bug-be-gone

Quick Start

# Fix all errors in your script
bug-be-gone your_script.py

# Fix everything (runtime + types + deployment)
bug-be-gone --ultimate your_script.py

# Check for type errors
bug-be-gone --types your_script.py

# Validate deployment configuration
bug-be-gone --deploy

What It Fixes

Runtime Errors (50+ types)

  • TypeError, ValueError, AttributeError
  • KeyError, IndexError, ZeroDivisionError
  • FileNotFoundError, PermissionError
  • JSONDecodeError, UnicodeDecodeError
  • ImportError, ModuleNotFoundError
  • And 40+ more...

Type Errors

  • Integrates with mypy
  • Infers and adds type hints
  • Fixes type mismatches

Deployment Issues

  • Missing environment variables
  • Port configuration problems
  • Permission errors
  • Path issues

Example Session

$ bug-be-gone --ultimate broken_app.py

[BACKUP] Created at broken_app.py.backup
[START] Universal Debugger ULTIMATE
[TRIAL] Evaluation license - expires Nov 17, 2025
[MODE] ULTIMATE
[TARGET] /home/user/broken_app.py
[DATABASE] 52 error types loaded

[TYPES] Running type checker...
[FOUND] 3 type error(s)
[FIX] Applied type fixes...

[RUNTIME] Fixing runtime errors...
[ITERATION 1] Running script...
[DETECTED] AttributeError at line 156
[FIX] Applied AttributeError fix at line 156
[ITERATION 2] Running script...
[DETECTED] KeyError at line 203
[FIX] Applied KeyError fix at line 203
[ITERATION 3] Running script...
[SUCCESS] No errors detected!

[COMPLETE] Fixed 5 error(s) in 2 iteration(s)

How It Works

  1. Backup: Automatically creates .backup file before any changes
  2. Detect: Runs your code and captures error output
  3. Analyze: Uses AST parsing to understand code context
  4. Fix: Applies intelligent, context-aware fixes
  5. Repeat: Iterates until all errors are resolved

Key Features

🔒 Safe: Always creates backups before modifying code
Fast: Deterministic pattern matching, not LLM-based
🎯 Smart: AST-based analysis for context-aware fixes
🔧 Comprehensive: 52 error types with multiple fix patterns each
🏠 Local: Runs 100% on your machine, no code sent anywhere

Trial License

This is a trial version that expires on November 17, 2025.

All features are fully functional during the trial period.

Purchasing

To purchase a full license:

Email: keeg@dishesandmore.com
Subject: Bug-Be-Gone License

Available licenses:

  • Individual Developer: $147/year or $499 lifetime
  • Team License (5 devs): $497/year
  • Enterprise: Custom pricing

Commands

# Basic usage
bug-be-gone script.py              # Fix runtime errors
bug-be-gone --types script.py      # Fix type errors
bug-be-gone --deploy               # Check deployment
bug-be-gone --all script.py        # Fix everything
bug-be-gone --ultimate script.py   # MAXIMUM POWER

# Short alias
bbg --ultimate script.py

Requirements

  • Python 3.6+
  • No external dependencies
  • Works on Linux, macOS, Windows

Technical Details

Bug-Be-Gone uses:

  • AST parsing for intelligent code analysis
  • Pattern matching for deterministic fixes
  • Type inference for adding missing type hints
  • Mypy integration for type checking
  • Multi-pass iteration for complex error chains

Not LLM-based - this is fast, deterministic, and predictable.

Safety

  • ✅ Creates .backup files automatically
  • ✅ Runs locally, no external API calls
  • ✅ No telemetry or tracking
  • ✅ You control when changes are applied

Limitations

  • Only fixes errors in target script (not library code)
  • Maximum 100 iterations per run
  • Type checking requires mypy (optional)
  • Trial version expires Nov 17, 2025

Support

Trial Support: keeg@dishesandmore.com
Response Time: 48 hours

License

Proprietary - Trial License
Copyright © 2025 Dishes & More Ventures

Unauthorized distribution, decompilation, or reverse engineering is prohibited.


Questions? keeg@dishesandmore.com

Made with frustration after debugging too many estate sale inventory tools.

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

bug_be_gone-1.0.0.tar.gz (22.0 kB view details)

Uploaded Source

Built Distribution

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

bug_be_gone-1.0.0-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file bug_be_gone-1.0.0.tar.gz.

File metadata

  • Download URL: bug_be_gone-1.0.0.tar.gz
  • Upload date:
  • Size: 22.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for bug_be_gone-1.0.0.tar.gz
Algorithm Hash digest
SHA256 07ab995f4c4cbbc0d4641d09c1c6e6c012c6a11b45c4104b2888c2704cdfc854
MD5 ad49bee94b0e8f3712ca83ea0c00fa06
BLAKE2b-256 532637850a9ef7c393a72246f7a96cd67d002e07dafb0d103037284e064c1061

See more details on using hashes here.

File details

Details for the file bug_be_gone-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: bug_be_gone-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for bug_be_gone-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2d2d4937f7e9dfc7cb3d963b4b232039928f69eca60867dbd8eb2f207e51007f
MD5 8203ffa6543c00f6a1d211eaae825f28
BLAKE2b-256 66c7f88229692d0b27c5f47d6087cba1905e5a870c124e1b5c9de3c0d4be0351

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