Skip to main content

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


Download files

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

Source Distribution

notifier_function-1.5.1.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

notifier_function-1.5.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file notifier_function-1.5.1.tar.gz.

File metadata

  • Download URL: notifier_function-1.5.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for notifier_function-1.5.1.tar.gz
Algorithm Hash digest
SHA256 c5c53ef29d8aad348eb248cd7cc711ff0282f58aab699ac7a47cdd332d101eca
MD5 f7a8f53208967e3dc28c99d0484078a2
BLAKE2b-256 79b32334780dd94c3df7933d734b16391aee9a76340fd6b487bcadb57b9e79eb

See more details on using hashes here.

File details

Details for the file notifier_function-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: notifier_function-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.22.0 setuptools/51.1.1 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for notifier_function-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d1d799a958dad565da258080918652d89634418dd6bf7eafea742e7a615ec3f1
MD5 b8736c95207e620bfb7c5a938086eed1
BLAKE2b-256 13ab48821b13c1ca2b385b15e89d3dbbe83b9863eaa397de382b9793e3b41c29

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