{"id":15520277,"url":"https://github.com/rominf/winapps","last_synced_at":"2025-04-23T04:08:23.482Z","repository":{"id":54824424,"uuid":"179311765","full_name":"rominf/winapps","owner":"rominf","description":"Python library for managing installed applications on Windows","archived":false,"fork":false,"pushed_at":"2021-04-02T16:25:36.000Z","size":27,"stargazers_count":14,"open_issues_count":1,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-23T04:08:18.507Z","etag":null,"topics":["apps","library","python","python3","windows"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rominf.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}},"created_at":"2019-04-03T14:51:01.000Z","updated_at":"2025-02-03T19:58:02.000Z","dependencies_parsed_at":"2022-08-14T04:00:36.281Z","dependency_job_id":null,"html_url":"https://github.com/rominf/winapps","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/rominf%2Fwinapps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rominf%2Fwinapps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rominf%2Fwinapps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rominf%2Fwinapps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rominf","download_url":"https://codeload.github.com/rominf/winapps/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250366721,"owners_count":21418772,"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":["apps","library","python","python3","windows"],"created_at":"2024-10-02T10:25:29.339Z","updated_at":"2025-04-23T04:08:23.458Z","avatar_url":"https://github.com/rominf.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# winapps - Python library for managing installed applications on Windows\n[![License](https://img.shields.io/pypi/l/winapps.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/winapps.svg)\n[![PyPI](https://img.shields.io/pypi/v/winapps.svg)](https://pypi.org/project/winapps/)\n\n## Installation\nTo install `winapps` from PyPI run:\n```shell\n$ pip install winapps\n```\nOr clone it using git:\n```shell\n$ git clone https://github.com/rominf/winapps.git\n$ cd winapps\n$ python(3) setup.py install\n```\n\n## Usage\n### Printing installed applications\n```python\nimport winapps\n\nfor app in winapps.list_installed():\n    print(app)\n# InstalledApplication(name='7-Zip 19.00 (x64)', version='19.00', install_date=None, install_location=WindowsPath('C:/Program Files/7-Zip'), install_source=None, modify_path=None, publisher='Igor Pavlov', uninstall_string='C:\\\\Program Files\\\\7-Zip\\\\Uninstall.exe')\n# InstalledApplication(name='Mozilla Firefox 66.0.2 (x64 ru)', version='66.0.2', install_date=None, install_location=WindowsPath('C:/Program Files/Mozilla Firefox'), install_source=None, modify_path=None, publisher='Mozilla', uninstall_string='\"C:\\\\Program Files\\\\Mozilla Firefox\\\\uninstall\\\\helper.exe\"')\n# InstalledApplication(name='Mozilla Maintenance Service', version='66.0.2', install_date=None, install_location=None, install_source=None, modify_path=None, publisher='Mozilla', uninstall_string='\"C:\\\\Program Files (x86)\\\\Mozilla Maintenance Service\\\\uninstall.exe\"')\n# InstalledApplication(name='Oracle VM VirtualBox Guest Additions 6.0.4', version='6.0.4.0', install_date=None, install_location=None, install_source=None, modify_path=None, publisher='Oracle Corporation', uninstall_string='C:\\\\Program Files\\\\Oracle\\\\VirtualBox Guest Additions\\\\uninst.exe')\n# InstalledApplication(name='Python 3.7.1 (Miniconda3 4.5.12 64-bit)', version='4.5.12', install_date=None, install_location=None, install_source=None, modify_path=None, publisher='Anaconda, Inc.', uninstall_string='\"C:\\\\ProgramData\\\\Miniconda3\\\\Uninstall-Miniconda3.exe\"')\n# InstalledApplication(name='TortoiseHg 4.9.0 (x64)', version='4.9.0', install_date=datetime.date(2019, 4, 3), install_location=WindowsPath('C:/Program Files/TortoiseHg'), install_source=WindowsPath('C:/Users/Roman Inflianskas/Downloads'), modify_path='MsiExec.exe /I{9DF3A4E8-0C61-49CC-9170-79B0DE20EF25}', publisher='Steve Borho and others', uninstall_string='MsiExec.exe /I{9DF3A4E8-0C61-49CC-9170-79B0DE20EF25}')\n# ...\n```\n\n### Searching applications\n```python\nimport winapps\n\nfor app in winapps.search_installed('tortoisehg'):\n    print(app)\n```\n\n### Uninstalling applications\n```python\nimport winapps\n\n# Assuming you have exactly one installed Notepad++\n[npp] = winapps.search_installed('Notepad++')\nnpp.uninstall('/S')\n\n# Simpler universal variant (uninstall all Notepad++ applications)\nwinapps.uninstall('Notepad++', args=['/S'])\n```\n\n## Caveats\nThe library currently lookups only for software installed for all users. Only Windows Installer 3.0 .exe installers are\nsupported in `installer_command`, `install`, and `uninstall` are supported.\n\n## Credits\nThis library is heavily inspired by `win_pkg` SaltStack module.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frominf%2Fwinapps","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frominf%2Fwinapps","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frominf%2Fwinapps/lists"}