{"id":29671742,"url":"https://github.com/amnweb/winmica","last_synced_at":"2025-07-22T20:35:26.093Z","repository":{"id":305785159,"uuid":"1020976288","full_name":"amnweb/winmica","owner":"amnweb","description":"A simple Python package to enable Windows 11 Mica effects for PyQt6 applications using the official Windows API.","archived":false,"fork":false,"pushed_at":"2025-07-22T01:00:38.000Z","size":13,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-22T02:46:46.443Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/amnweb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"amnweb","ko_fi":"amnweb"}},"created_at":"2025-07-16T17:22:39.000Z","updated_at":"2025-07-22T00:59:44.000Z","dependencies_parsed_at":"2025-07-22T02:46:48.411Z","dependency_job_id":"1a5c82d1-b7d3-4c60-b6bc-b0122f698607","html_url":"https://github.com/amnweb/winmica","commit_stats":null,"previous_names":["amnweb/winmica"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/amnweb/winmica","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amnweb%2Fwinmica","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amnweb%2Fwinmica/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amnweb%2Fwinmica/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amnweb%2Fwinmica/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amnweb","download_url":"https://codeload.github.com/amnweb/winmica/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amnweb%2Fwinmica/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266490035,"owners_count":23937371,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-07-22T20:35:24.010Z","updated_at":"2025-07-22T20:35:26.085Z","avatar_url":"https://github.com/amnweb.png","language":"Python","readme":"# winmica\nA simple Python package to enable Windows 11 Mica effects for PyQt6 applications using the official Windows API.\n\n## Installation\n\nInstall this package (from the project root):\n```bash\npip install winmica\n```\n\n## Usage Example (PyQt6)\n\n```python\nfrom PyQt6.QtWidgets import QApplication, QMainWindow\nfrom PyQt6.QtCore import Qt\nfrom winmica import ApplyMica, MicaType, is_mica_supported\nimport sys\n\nclass MyWindow(QMainWindow):\n    def __init__(self):\n        super().__init__()\n        self.setWindowTitle(\"Mica Example\")\n        self.setGeometry(100, 100, 600, 400)\n        self.setAttribute(Qt.WidgetAttribute.WA_TranslucentBackground, True)\n        if is_mica_supported():\n            hwnd = int(self.winId())\n            ApplyMica(hwnd, MicaType.MICA)\n\nif __name__ == \"__main__\":\n    app = QApplication(sys.argv)\n    window = MyWindow()\n    window.show()\n    sys.exit(app.exec())\n```\n\n## Features\n- Official Windows 11 Mica Effect\n- Simple API: `ApplyMica(hwnd, effect_type)`\n- Works with PyQt6 windows (may also work with PySide6 or Tkinter, but not tested)\n- Detects system theme (light/dark)\n\n## Effect Types\n- `MicaType.MICA` – Standard Mica\n- `MicaType.MICA_ALT` – Alternative Mica\n- `MicaType.AUTO` – Auto (let Windows decide)\n\n## Result:\n\u003cimg width=\"954\" height=\"720\" alt=\"mica\" src=\"https://github.com/user-attachments/assets/81131740-1240-43d6-a006-6cf379cfa09c\" /\u003e\n\u003cimg width=\"954\" height=\"720\" alt=\"micaalt\" src=\"https://github.com/user-attachments/assets/df3ee785-9610-41a7-845d-57cb1b469443\" /\u003e\n","funding_links":["https://github.com/sponsors/amnweb","https://ko-fi.com/amnweb"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famnweb%2Fwinmica","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famnweb%2Fwinmica","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famnweb%2Fwinmica/lists"}