Skip to main content

C extension to show native Windows notifications.

Project description

This package provides a Python extension module written in C to show native Windows notifications. Notifications appear as toasts on Windows 10 and as balloons on earlier versions.

There is already win10toast Python module which does more or less the same thing, but as it depends on pywin32 it is not usable in mingw environment, as pywin32 does not compile under mingw.


Just do:

pip install winnotify

or alternatively run:

python install

from root directory.


winnotify does not depend on any 3rd party modules. You will need Python 3.6 or later.

If you’re compiling from source you’ll need mingw or Windows SDK.


>>> import notify
>>> notify.init('python.ico', callback)
>>> notify.notify('This notification body', 'Title', 'python.ico', False,
... 5, notify.dwInfoFlags.NIIF_USER | notify.dwInfoFlags.NIIF_LARGE_ICON)
>>> notify.uninit()

To check if notification is currently visible:

>>> notify.isvisible()

For complete documentation see help(). Supported file types are ico and png, either as standalone files, resources in binaries or memory buffers.

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

winnotify-0.1.0.tar.gz (6.5 kB view hashes)

Uploaded source

Built Distributions

winnotify-0.1.0-cp36-cp36m-win_amd64.whl (12.3 kB view hashes)

Uploaded cp36

winnotify-0.1.0-cp36-cp36m-win32.whl (11.2 kB view hashes)

Uploaded cp36

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