Metadata-Version: 2.1
Name: bugprint
Version: 0.3.2
Summary: Debug printing made easy.
Home-page: https://github.com/erikluu/bugprint
Author: Erik Luu
Author-email: eeluu19@gmail.com
License: MIT
Keywords: python,debug,print
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: Unix
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
License-File: LICENSE


# Bugprint Package

**Example Usage**

```python
from bugprint import bp

def add(x, y):
    print(f"Adding {x} + {y} = {x + y}")
    bp()

def subtract(x, y):
    print(f"Subtracting {x} - {y} = {x - y}")
    bp()

# Call bp() at specific lines in your code
bp()
add(1, 2)
bp()
subtract(5, 4)
bp()
```

**Output**

```
BP DEBUG: tests.py, line 12
Adding 1 + 2 = 3
BP DEBUG: tests.py, line 5
BP DEBUG: tests.py, line 14
Subtracting 5 - 4 = 1
BP DEBUG: tests.py, line 9
BP DEBUG: tests.py, line 16
```
