Notify you when a function finished with option to send a email
Project description
Notifier Function Status
This library use a decorator to show a toast in your screen.
Requeriments
Please install this packages by yourself depending you OS:
- Windows:
pip3 install win10toast
- Ubuntu:
apt-get install libnotify-bin
(if don't work try searching how install notify-send for your distro of Linux)
Usage
All that you need is use a decorator and specific some parameters, next explain it:
Import: from notifier import notify
Decorator to use: @notify()
Parameters
- title: the title of toast notification, by defult is: Function finished.
- msg: the message of toast notification, by default is:
Your function has finished
. - duration: the time, in seconds, that the nottications will show, by default is 8.
- urgency: the urgency of the notifcation. By defualt is
normal
. The options are:- low.
- normal.
- critial.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for notifier_function-1.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1d799a958dad565da258080918652d89634418dd6bf7eafea742e7a615ec3f1 |
|
MD5 | b8736c95207e620bfb7c5a938086eed1 |
|
BLAKE2b-256 | 13ab48821b13c1ca2b385b15e89d3dbbe83b9863eaa397de382b9793e3b41c29 |