Skip to main content

workflow-notification

Project description

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

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

workflow-notification-9.19.2022.tar.gz (2.6 kB view details)

Uploaded Source

File details

Details for the file workflow-notification-9.19.2022.tar.gz.

File metadata

File hashes

Hashes for workflow-notification-9.19.2022.tar.gz
Algorithm Hash digest
SHA256 c6e1bd8924419573b5b6ae6e5e321ace5ea8ed819e1fd5bb8a91ada89ebc844f
MD5 960b17a7ce864df01b3e07b88bc1b2b4
BLAKE2b-256 9499716037e47263fcabbbdbca0def9f33fb52584f613acccde423a868c47964

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page