Skip to main content

A cross-platform Python utility to find installed applications on Windows, macOS, and Linux.

Project description

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-StartApps or Get-AppxPackage) to find installed applications from the Start Menu and returns app IDs for launching.
  • macOS: Uses mdfind (Spotlight) to locate all .app bundles and reads their Info.plist for metadata.
  • Linux: Scans for .desktop files in standard application directories including /usr/share/applications, ~/.local/share/applications, and additional paths for Snap, Flatpak, AppImage, and other package managers.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

installed_apps_scanner-0.1.0.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

installed_apps_scanner-0.1.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file installed_apps_scanner-0.1.0.tar.gz.

File metadata

  • Download URL: installed_apps_scanner-0.1.0.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.11

File hashes

Hashes for installed_apps_scanner-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0abb482551411dcf415f48b25c86f076f37cf909b43ff901a4e279aba414642b
MD5 fadbad1f021423c86ea8f7193bcc2332
BLAKE2b-256 311cf7d55cb65022d7c1e21cf7e15df0e7b71bbf258c75f12eec41e218429cf4

See more details on using hashes here.

File details

Details for the file installed_apps_scanner-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for installed_apps_scanner-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 265ea9923d43745622ec92f7ac1eb1bc8f64580a6b453dc6c8a796d93d2318f5
MD5 717d83267df201d8281e805a3906f28d
BLAKE2b-256 7cf499a4f40b7427017e5b4d22b28d0ded2539499cda2c0ff1a982a72927dd72

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page