App Scanner
A cross-platform Python utility to find installed applications on Windows, macOS, and Linux.
This library provides a simple function, get_installed_apps(), that returns a list of installed applications on the host operating system.
Features
- Cross-Platform: Works on Windows, macOS, and Linux.
- Simple API: A single function to get the list of apps.
- Lightweight: No external dependencies.
Installation
pip install app-scanner
Usage
from app_scanner import get_installed_apps
apps = get_installed_apps()
for app in apps:
name = app['name']
# On Windows, 'appid' is used as identifier; on macOS/Linux, 'path' is used
identifier = app.get('appid') or app.get('path', 'N/A')
print(f"Name: {name}, Identifier: {identifier}")
How it Works
- Windows: Uses PowerShell commands (
Get-StartAppsorGet-AppxPackage) to find installed applications from the Start Menu and returns app IDs for launching. - macOS: Uses
mdfind(Spotlight) to locate all.appbundles and reads their Info.plist for metadata. - Linux: Scans for
.desktopfiles in standard application directories including/usr/share/applications,~/.local/share/applications, and additional paths for Snap, Flatpak, AppImage, and other package managers.
Metadata
Release files for installed-apps-scanner 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| installed_apps_scanner-0.1.0.tar.gz | 10.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| installed_apps_scanner-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.0 kB
Release files / installed_apps_scanner-0.1.0.tar.gz
| Download URL | installed_apps_scanner-0.1.0.tar.gz |
|---|---|
| Size | 10.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0abb482551411dcf415f48b25c86f076f37cf909b43ff901a4e279aba414642b
|
|
BLAKE2b-256 checksum How to use checksums |
311cf7d55cb65022d7c1e21cf7e15df0e7b71bbf258c75f12eec41e218429cf4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|
Release files / installed_apps_scanner-0.1.0-py3-none-any.whl
| Download URL | installed_apps_scanner-0.1.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
265ea9923d43745622ec92f7ac1eb1bc8f64580a6b453dc6c8a796d93d2318f5
|
|
BLAKE2b-256 checksum How to use checksums |
7cf499a4f40b7427017e5b4d22b28d0ded2539499cda2c0ff1a982a72927dd72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.11
|