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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c1234e2bf81ac1c515584b3566f19b4f073445641bb327869f371bf38843865 |
|
MD5 | 1c7302e2e12057bb25e9a1129e371f53 |
|
BLAKE2b-256 | f9e59f14c9fb860761f43e56ab8f9f99b03e924a063e000ce86dcad6152712ad |