{"id":14976976,"url":"https://github.com/versa-syahptr/winotify","last_synced_at":"2025-06-19T05:08:28.650Z","repository":{"id":44991710,"uuid":"326559060","full_name":"versa-syahptr/winotify","owner":"versa-syahptr","description":"A pure python module to create Windows 10 Notification","archived":false,"fork":false,"pushed_at":"2023-09-05T09:18:21.000Z","size":693,"stargazers_count":84,"open_issues_count":19,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-05T00:20:09.555Z","etag":null,"topics":["notification","notifications","python","python-library","python3","windows-10","windows-desktop"],"latest_commit_sha":null,"homepage":"https://versa-syahptr.github.io/winotify/docs/winotify.html","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/versa-syahptr.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-01-04T03:27:58.000Z","updated_at":"2025-05-20T03:06:27.000Z","dependencies_parsed_at":"2024-06-19T03:53:04.672Z","dependency_job_id":"7026ebcd-14e4-44c7-89b4-9709739586c9","html_url":"https://github.com/versa-syahptr/winotify","commit_stats":{"total_commits":24,"total_committers":3,"mean_commits":8.0,"dds":0.125,"last_synced_commit":"071f2e5c5ef2c0f6b250dd050ca6fc7679c8d4ce"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/versa-syahptr/winotify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versa-syahptr%2Fwinotify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versa-syahptr%2Fwinotify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versa-syahptr%2Fwinotify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versa-syahptr%2Fwinotify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/versa-syahptr","download_url":"https://codeload.github.com/versa-syahptr/winotify/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/versa-syahptr%2Fwinotify/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260690914,"owners_count":23047101,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notification","notifications","python","python-library","python3","windows-10","windows-desktop"],"created_at":"2024-09-24T13:54:47.156Z","updated_at":"2025-06-19T05:08:23.631Z","avatar_url":"https://github.com/versa-syahptr.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Winotify\nA pure python module to show notification toast on Windows 10.\n\nNo dependencies, no requirements, all you need is PowerShell installed on your machine \n(which in every Windows computer have it).\n\n## Installation\nInstall winotify using pip\n\n```sh\npip install winotify\n```\n\n## Features\n\n* Notification stays in action center\n* Clickable notification with 5 additional buttons\n* Use function as a callback when clicking the notification\n\n## Usage\n\n### A simple notification with icon\n```python\nfrom winotify import Notification\n\ntoast = Notification(app_id=\"windows app\",\n                     title=\"Winotify Test Toast\",\n                     msg=\"New Notification!\",\n                     icon=r\"c:\\path\\to\\icon.png\")\n\ntoast.show()\n```\n\n**Result:**\n\n![image1](https://github.com/versa-syahptr/winotify/blob/master/image/winotify%20ss1.png?raw=true)\n\n**The notification stays in the action center!**\n\n![image2](https://github.com/versa-syahptr/winotify/blob/master/image/winotify%20ss2.png?raw=true)\n\n\u003e Note that the icon path must be **absolute** otherwise \nthe notification will not show\n\n### Set sound of the notification\n\nAll supported audio are in the ```audio``` module\n\n```python\nfrom winotify import Notification, audio\n\ntoast = Notification(...)\ntoast.set_audio(audio.Mail, loop=False)\n```\n\n### Add action button\n\n```python\nfrom winotify import Notification\n\ntoast = Notification(...)\ntoast.add_actions(label=\"Button text\", \n                  launch=\"https://github.com/versa-syahptr/winotify/\")\n```\n\u003e You can add up to 5 buttons each notification\n\n\n## CLI\n```batch\nwinotify ^\n-id myApp ^\n-t \"A Title\" ^\n-m \"A message\" ^\n-i \"c:\\path\\to\\icon.png\" ^\n--audio default ^\n--open-url \"http://google.com\" ^\n--action \"open github\" ^\n--action_url \"http://github.com\"         \n```\n\n\u003e Use `winotify-nc` instead of `winotify` to hide the console window.\n\n## Contributing\nPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.\n\nPlease make sure to update tests as appropriate.\n\n## Licence\n[MIT](https://github.com/versa-syahptr/winotify/blob/master/LICENSE)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversa-syahptr%2Fwinotify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fversa-syahptr%2Fwinotify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fversa-syahptr%2Fwinotify/lists"}