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', '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.4.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: win11toast-0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 b898905016d30b21e5de7fdd8c3544949751e63617d9427d3ef0d32781cd0ff0
MD5 1b05a751de2de0abdb76d1978784a3a8
BLAKE2b-256 5ee0896d0fdf42f95e6c5c18869cc6b958d0fe1b1727bc74e25eca26e11107d8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: win11toast-0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 538099f9b6735beac19b956f84a8b8f61deccaa224c30d33fbe38839ef106bb2
MD5 5768d4c3896add2b6f3ffcd567b6d9a5
BLAKE2b-256 b003c05819cb355fc6d889204720107d21b952b74cd53abd5d1e8f94eb9fb628

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