1 Star 1 Fork 0

墨大宝 / winsdk_toast

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

winsdk_toast

Documentation Status

A simple package for displaying Windows Toast Notification based on winsdk.

Sometimes, after starting my data processing python script, I may surf the Internet. It chokes my happiness that to frequently check whether the script stops, or suddenly realize the script has stopped for a long while.

It'll be reassuring that the script can stop with a friendly gesture.

Features

winsdk_toast can pop up Windows Toast Notifications that contain

  • Text
  • Image
  • Input
    • Text
    • Selection
  • Audio
    • Buit-in
    • Custom
  • Progress
    • Still
    • Live
  • Group
  • Event

Minimal Example

from winsdk_toast import Notifier, Toast


notifier = Notifier('程序名 applicationId')
toast = Toast()
toast.add_text('第一行 1st line')
notifier.show(toast)

minimal_example.gif

More examples and documents are on the way.

MIT License Copyright (c) 2022 墨大宝 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

A simple package for displaying Windows Toast Notification based on winsdk. 展开 收起
Python
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Python
1
https://gitee.com/mo_dabao/winsdk_toast.git
git@gitee.com:mo_dabao/winsdk_toast.git
mo_dabao
winsdk_toast
winsdk_toast
main

搜索帮助

14c37bed 8189591 565d56ea 8189591