Skip to content

PPE (PrePrintExec) v1.0.0πŸŽ‰

Choose a tag to compare

@Alex-XJK Alex-XJK released this 11 Jun 02:01
· 5 commits to main since this release

First stable release of PPE - the non-intrusive Python debugging tool!

πŸš€ Installation

pip install ppe-debug

✨ What's New

  • AST-based debugging with zero dependencies
  • Three debug modes:
    • Custom messages (## message)
    • Statement echoing (## -)
    • Variable inspection timing: (## @after:var1,var2 and ## @before:var1,var2)
  • Universal statement support: Works with assignments, returns, loops, conditionals, and more
  • Clean decorator syntax: Just add @ppe_debug above your function

πŸ”§ Quick Example

from ppe import ppe_debug

@ppe_debug
def calculate():
    x = 10      ## Setting x
    y = x * 2   ## @after:x,y
    return y    ## Returning result

# Output:
# PPE: Setting x
# PPE: [After] x=10, y=20
# PPE: Returning result

Remove @ppe_debug when you're done debugging - it's that simple!

πŸ“¦ Package Info