Metadata-Version: 2.1
Name: workflow-notification
Version: 9.19.2022
Summary: workflow-notification 
Home-page: https://github.com/Nllii/workflow-notification.git
Author: Nii Golightly
Author-email: nlli@pm.me
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# workflow-notification
used to send notification and logs  to email, groupme and siasky.

```

notifications:
  - groupme:
      bot_id: ""
  - email:
      to: ""
      from: ""
      smtp_host: ""
      smtp_port:
      smtp_username: ""
      smtp_password: ""
      smtp_tls: true
      subject: "hello from {{program.notifications}}"

```

# Usage
```
pip install workflow-notification

```

```python
from secret_assistant import notification
notification("critical - message").critical().sendmessage().send_mail()

```



TODO:
1. siasky for logs sending
2. use trace to hook into stdout.






