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: Keeghan@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: Keeghan@dishesandmore.com
Response Time: 48 hours

License

Proprietary - Trial License
Copyright © 2025 Dishes & More Ventures

Unauthorized distribution, decompilation, or reverse engineering is prohibited.


Questions? Keeghan@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.1.tar.gz (20.8 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.1-py3-none-any.whl (17.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bug_be_gone-1.0.1.tar.gz
  • Upload date:
  • Size: 20.8 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.1.tar.gz
Algorithm Hash digest
SHA256 6167fe9b12b4ce85a2324403e882b2a0978f4ee77cb468ac36ea18f7b8cf092b
MD5 8f9cb6aabc6a11c91c7cf7268c364e9b
BLAKE2b-256 bc07066e6627462e6454b22c5f99d8ddd391b5bf2744c791c568c3421ae93baa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bug_be_gone-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7c9365e76d09545e040c5c462e943175d0fcad2a74ce2e33f274888faaa60f4e
MD5 983f6f045fdbf3df017d1c0dd687667a
BLAKE2b-256 e1ad33efe4586084d721ce21c90538e9d16d0a5856f75dbe0be94278513d80f9

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