{"id":17897786,"url":"https://github.com/j-city/pyqt5notification","last_synced_at":"2025-04-03T04:42:31.397Z","repository":{"id":76891631,"uuid":"197776423","full_name":"J-CITY/pyqt5notification","owner":"J-CITY","description":"Tiny script for notification in pyqt5","archived":false,"fork":false,"pushed_at":"2025-02-27T16:05:37.000Z","size":10330,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T20:51:24.238Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/J-CITY.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2019-07-19T13:20:49.000Z","updated_at":"2025-02-27T16:05:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"0eb97d14-8b65-40b8-a775-dcfb3032752d","html_url":"https://github.com/J-CITY/pyqt5notification","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-CITY%2Fpyqt5notification","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-CITY%2Fpyqt5notification/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-CITY%2Fpyqt5notification/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/J-CITY%2Fpyqt5notification/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/J-CITY","download_url":"https://codeload.github.com/J-CITY/pyqt5notification/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246939189,"owners_count":20857916,"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":[],"created_at":"2024-10-28T15:15:21.637Z","updated_at":"2025-04-03T04:42:31.389Z","avatar_url":"https://github.com/J-CITY.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pyqt5 Notification\n\nTiny script for cross platform notification with pyqt5\n\nIt could use [BlurWindow](https://github.com/Peticali/PythonBlurBehind) if you want blur background\n\n## Dependencies\n\nPyQt5\n```\npython -m pip install PyQt5\n```\n\nIf you want blur background\n```\npython -m pip install BlurWindow\n```\n\n## Examples:\n\n![Imgur](https://github.com/J-CITY/pyqt5notification/blob/master/screens/scr1.png)\n\n```python\n# use for material ui widgets style\nfrom qt_material import apply_stylesheet\n\napp = QtWidgets.QApplication(sys.argv)\n\ntoast = Toast(\"SIMPLE TITLE\", \"SIMPLE MESSAGE\", \"images.png\")\n\n# init material ui style\napply_stylesheet(app, theme='dark_teal.xml')\n\ntoast.show()\n\nsys.exit(app.exec_())\n```\n\n![Imgur](https://github.com/J-CITY/pyqt5notification/blob/master/screens/scr2.gif)\n\n```python\nfrom qt_material import apply_stylesheet\n\napp = QtWidgets.QApplication(sys.argv)\n\ntoast = Toast()\ntoast.setTitle(\"Some Title\")\ntoast.setMessage(\"This is notification for you\")\ntoast.setImage(\"images.png\")\ntoast.setTextAlign(TextAlign.LEFT)\ntoast.setUseBlurBg(True)\ntoast.setAnimPosOffset(30, 0)\ntoast.setAnimPosCurve(CurveType.IN_CUBIC)\ntoast.setAnimFadeCurve(CurveType.IN_CUBIC)\ntoast.config.BUTTONS[\"btn1\"] = Button(\"Play\")\ntoast.setSound(\"sound.wav\")\n\napply_stylesheet(app, theme='dark_teal.xml')\n\ntoast.show()\nsys.exit(app.exec_())\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-city%2Fpyqt5notification","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj-city%2Fpyqt5notification","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj-city%2Fpyqt5notification/lists"}