Skip to content

A python library implemented by python3, for listening to Toast message notifications on windows. (一个用于监听Windows Toast通知消息的python库)

License

Notifications You must be signed in to change notification settings

Gu-f/WinToastListener

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinToastListener

README_EN
一个用于监听Windows Toast通知消息的python库

Demo

支持平台

支持
Windows10 及以上

未测试
Windows8
P.S.: 无该系统,无法测试。欢迎有相关系统的进行测试,并告知我结论。

不支持
Windows7 及以下

安装

pip install wintoastlistener

最小使用样例

from wintoastlistener import ToastListener


def example_callback(event_data, resources):
    print(event_data)
    print(resources)


listener = ToastListener(callback=example_callback)
listener.listen()

更多示例

文档

文档

About

A python library implemented by python3, for listening to Toast message notifications on windows. (一个用于监听Windows Toast通知消息的python库)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages