This program sends a notify to user through many channels. Currently, it supports Line (the must for Thai people, sadly) and write. Plan to support Microsoft Teams, email, telegram, (universal) webhook in the future. Pull requests are welcome.
You have to generate access token from Line Notify Bot website https://notify-bot.line.me
Only support linux 'write' command, might not work with WSL.
pip install NotiMe
edit .notime.rc in your home directory, see notime.rc.example for guideline.
$ execution_something_that_need_a_long_time_to_finish.sh && notime -l "That very long execution is done."
from NotiMe import send_write_notify
from NotiMe import send_line_notify
send_write_notify('Done') # send notify through write command to local user
send_line_notify('Done', LINE_API_TOKEN) # send notify through Line API using LINE_API_TOKEN (see Prerequisites)