--- id: app-model version: "0.5.1" license: BSD 3-Clause License license_treatment: permissive maintenance: active --- # app-model — Generic application schema implemented in python License: permissive · Maintenance: active · Downloads: 187.9K/mo ## What it is and what it does app-model is a Python library that implements a generic application schema for declaratively organizing application metadata. It provides a structured way to define menus, keybindings, actions, and commands using a model inspired by VS Code's application architecture. The package relies on Pydantic for data validation, in-n-out for dependency injection, psygnal for event signaling, and typing-extensions for enhanced type hints. The library is designed for developers building desktop or complex applications who need a consistent, schema-driven way to manage application structure and configuration. It is currently in Alpha status, meaning the API may change, but it is actively maintained and supports Python 3.9 through 3.13. Use it for: - Define and validate menu structures and command hierarchies for a desktop application without hardcoding UI logic. - Centralize keybinding definitions and action registration in a single declarative schema. - Build plugin systems where commands and menus are registered dynamically via the schema. - Organize application metadata in a way that can be serialized, versioned, and shared across tools. - Implement a command palette or action browser by querying the application schema. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides a declarative schema for organizing application metadata like menus, keybindings, and commands, inspired by the VS Code application model. Yes, if you are building a desktop or complex application and want a structured, schema-driven way to organize menus, commands, and keybindings. The low install friction, active maintenance, permissive license, and lack of known vulnerabilities make it a safe choice. Be aware it is in Alpha, so expect potential API changes; start with it if you value declarative organization over a mature, battle-tested API. ## Install pip install app-model uv add app-model poetry add app-model ## Installing app-model Before you install: Low install friction with a pure-Python wheel and four lightweight runtime dependencies. Active maintenance with a recent commit on 2026-08-03, though the project is in Alpha status and has a modest community footprint. License in practice: BSD 3-Clause License is permissive and places no significant restrictions on use, modification, or redistribution in commercial or private projects. Quickstart: pip install app-model from app_model import Application app = Application(name="my_app") Requires Python 3.9 or later. Verify before relying: - Whether the schema supports runtime validation of application structure beyond what Pydantic provides. - How the package handles complex nested menu hierarchies or dynamic command registration. - Whether there are built-in integrations with common UI frameworks or if it is schema-only. ## Package facts - License: BSD 3-Clause License (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 187.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags application schema framework, menu and command organization, declarative app configuration, keybinding and action registry, vs code application model, desktop app structure, command palette framework, application-schema, declarative-config, command-registry [View on SkillFed](https://skillfed.io/packages/app-model) · [View on PyPI](https://pypi.org/project/app-model/)