Skip to main content

Toast notifications for Windows 10 and 11

Project description

Python PyPI

win11toast

Toast notifications for Windows 10 and 11 based on WinRT

image

Installation

pip install win11toast

Usage

from win11toast import toast

toast('Hello Python')
from win11toast import toast

toast('Hello Python', 'Click to open url', on_click='https://www.python.org')

use callback

from win11toast import toast

toast('Hello Python', 'Click to open url', on_click=lambda args: print('clicked!', args))
# clicked! C:\Windows\Media\Alarm01.wav

Jupyter

from win11toast import toast_async

await toast_async('Hello Python', 'Click to open url', on_click='https://www.python.org')

image

Acknowledgements

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

win11toast-0.5.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

win11toast-0.5-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file win11toast-0.5.tar.gz.

File metadata

  • Download URL: win11toast-0.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for win11toast-0.5.tar.gz
Algorithm Hash digest
SHA256 e823d5588e17ebe0e2c6288646178681c623ad4033ea8fe9e97c4115520f52b6
MD5 ecb34afdf27a35b8b7bfd76082153735
BLAKE2b-256 956094496addfac42d57630a81a46f52cabc7e70dbcbd1110516185cafa6dcc6

See more details on using hashes here.

File details

Details for the file win11toast-0.5-py3-none-any.whl.

File metadata

  • Download URL: win11toast-0.5-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for win11toast-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bd5d52d624c05df2330a4ac71c08309698fdc88b168c4de7e7c34ff1ba80179c
MD5 92a87cca0ba3d911812edf84f80f9110
BLAKE2b-256 08161384f21974d6ecffebda44c3dd132dab48420857a5f563d93772daebe3ef

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