Skip to main content

An easy-to-use Python library for displaying Windows 10 Toast Notifications

Project description

Windows Toast Notifications

Installation

pip install wintoast

Requirements

Installation of pywin32

pypiwin32
setuptools

Example

from wintoast import ToastNotifier
toaster = ToastNotifier()
toaster.show_toast("Hello World!!!",
                   "Python is 10 seconds awsm!",
                   icon_path="custom.ico",
                   duration=10)

toaster.show_toast("Example two",
                   "This notification is in it's own thread!",
                   icon_path=None,
                   duration=5,
                   threaded=True)
# Wait for threaded notification to finish
while toaster.notification_active(): time.sleep(0.1)

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

wintoast-0.2.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file wintoast-0.2.tar.gz.

File metadata

  • Download URL: wintoast-0.2.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.0

File hashes

Hashes for wintoast-0.2.tar.gz
Algorithm Hash digest
SHA256 c100c3e2ac0471924637c8771dae89a7280596db05b1ad37cbd68d055d00c332
MD5 5c8dbb1a731212f6da4024f761f9508a
BLAKE2b-256 2a1ba751e24ab8c12565d4dbd6ee5bfc9f1de892f62402de2484cd8a1cfec933

See more details on using hashes here.

Supported by

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