exmon-0.0.1
توضیحات
Exception Monitoring System
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | exmon-0.0.1 |
| نام | exmon |
| نسخه کتابخانه | 0.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | klaemsch |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | https://github.com/klaemsch/exmon |
| آدرس اینترنتی | https://pypi.org/project/exmon/ |
| مجوز | MIT |
# ExMon
exmon can monitor your script and forward exceptions to specified services
- super easy
- modular
# Example
```python
from exmon import ExMon
from exmon.services import Alerta
from exmon.services import DiscordWebhook
# set up discord webhook
discord = DiscordWebhook('<URL>')
# set up alerta
alerta = Alerta(host_url='<HOST_URL>', api_key='<API_KEY>')
# start up ex mon with both services
ExMon(services=[discord, alerta])
# raise test exception
raise Exception('Totally unexpected exception')
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.8 | Python |
نحوه نصب
نصب پکیج whl exmon-0.0.1:
pip install exmon-0.0.1.whl
نصب پکیج tar.gz exmon-0.0.1:
pip install exmon-0.0.1.tar.gz