Repository navigation
PPE (PrePrintExec) v1.0.0π
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,var2and## @before:var1,var2)
- Custom messages (
- Universal statement support: Works with assignments, returns, loops, conditionals, and more
- Clean decorator syntax: Just add
@ppe_debugabove 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 resultRemove @ppe_debug when you're done debugging - it's that simple!
π¦ Package Info
- PyPI: https://pypi.org/project/ppe-debug/
- Dependencies: None (standard library only)