Skip to main content

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.

Installation

Just do:

pip install winnotify

or alternatively run:

python setup.py install

from root directory.

Requirements

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.

Example

>>> 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()
True

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

Release files for winnotify 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for winnotify 0.1.0
File Size Uploaded
winnotify-0.1.0.tar.gz 6.5 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for winnotify 0.1.0
File Interpreter ABI Platform
winnotify-0.1.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
winnotify-0.1.0-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details

Total release size: 29.9 kB

Release files / winnotify-0.1.0.tar.gz

Download URL winnotify-0.1.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
aca1763bf6ce01f3d989b277a767637b2b6b21e537c5c9121dda245cc243a8cb
BLAKE2b-256 checksum
How to use checksums
c2fdb4f79388406c91d6670eb33731a3144a58384aea955f93512fd6bcf65877
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

Release files / winnotify-0.1.0-cp36-cp36m-win_amd64.whl

Download URL winnotify-0.1.0-cp36-cp36m-win_amd64.whl
Size 12.3 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
ff06919f637684d8d8fff955a4612ac843c7ab804fb8f9f8251827f2da5bf05a
BLAKE2b-256 checksum
How to use checksums
324e43b0d889598662ef60cbdfbec23fbe29ab7398c2aba6aa62f8c351936922
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

Release files / winnotify-0.1.0-cp36-cp36m-win32.whl

Download URL winnotify-0.1.0-cp36-cp36m-win32.whl
Size 11.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
726089519a6d020dfc33710f04b68e5899d9bbe2512dcefb88690856d8dc09e5
BLAKE2b-256 checksum
How to use checksums
32f72b1a2573303ffa0ceaf73d91e0cbedcc5f5f240c1fa223c699398d9fe91b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.1.0 This release

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page