Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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!
- Host: GitHub
- URL: https://github.com/maxwelllzh/ask_for_help
- Owner: MaxwellLZH
- License: mit
- Created: 2019-09-16T10:32:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-20T08:01:07.000Z (over 5 years ago)
- Last Synced: 2024-12-02T22:46:37.529Z (about 1 month ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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!