Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/maxwelllzh/ask_for_help

Ask your friends to debug for you!
https://github.com/maxwelllzh/ask_for_help

Last synced: 18 days ago
JSON representation

Ask your friends to debug for you!

Awesome Lists containing this project

README

        

# Ask you friend to debug for you!

## Usage

- set up config file
```python
# config.py

# add your friends' email addresses over here
GOOD_PEOPLE = {
'Max': '[email protected]',
'John': '[email protected]',
'Anny': '[email protected]'
}

```

- specify who would be the one to save your buggy code
```python
from helpme import ask_for_help

# send Max an email if this function raises error
@ask_for_help('Max')
def buggy_function(x):
return 10 / x

# harrase Max with a DivisionByZero Error
buggy_function(0)

```

## Features on the way
1. Include argument values along with the source code
2. Add regular reminders, if your friend doesn't reponse your email, send again!