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: import notify

Decorator to use: @notify()

Parameters

  • title: the title of toast notification, by defult is: Function finished.
  • email: the email of user, by defult is: None.
  • 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.

Made with ❤️ by Enmanuel Magallanes

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

notify_function-1.0.4.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

notify_function-1.0.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file notify_function-1.0.4.tar.gz.

File metadata

  • Download URL: notify_function-1.0.4.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for notify_function-1.0.4.tar.gz
Algorithm Hash digest
SHA256 ae03f74e6c0f1c7fe5492ec8fef2064f40a58c1bc257775173e18cdf14d1115d
MD5 b136cbaf0c1708d56e116094a60c84d9
BLAKE2b-256 0f85d396315f2ac1068c8929f233a7ef23fd9dd71fe231dd02e59f226f39ce14

See more details on using hashes here.

File details

Details for the file notify_function-1.0.4-py3-none-any.whl.

File metadata

  • Download URL: notify_function-1.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.6

File hashes

Hashes for notify_function-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c0105680994f7336988246ae4314e71eaaabde41cbd66781568bd0d6202d49d4
MD5 ddb012487c3c347f7876ddeae1bfd349
BLAKE2b-256 f2892932a87d3a91624ccd8a5cdc585a97deb5f7ea636b51c32d823c4762b54b

See more details on using hashes here.

Supported by

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