How kevincrrl/kpa works
KPA is a Python AUR helper CLI. Its principal workflow manages AUR package repositories, reviews PKGBUILDs and safety warnings, resolves dependencies, and invokes package building/installation; it also supports updates, removal, cache cleanup, and configuration. The graph separates command orchestration from AUR/Git access and shared configuration and safety utilities. Some command-handler excerpts omit the calls connecting these stages, so those links are dashed rather than asserted as verified.
Main entry points: funciones.py Command handlers · extra_utils.py Safety and cache utilities · aurapi.py AUR metadata · colorprints.py Terminal formatting
Components 11
CLI entry
- Application entry
kpa/kpa.py
Package management
- Command handlers
kpa/funciones.py
External access
- AUR metadata
kpa/aurapi.py - Git operations
kpa/git.py
Shared support
- Configuration
kpa/parser.py - Safety and cache utilities
kpa/extra_utils.py - Terminal formatting
kpa/colorprints.py
Other components
- CLI user
- AUR RPC
- Git remotes
- System package tools
Connections 13
- CLI user → Application entry: runs CLI
kpa/kpa.py - Application entry → Command handlers: starts commands
kpa/kpa.py - Command handlers → AUR metadata: checks packages
kpa/funciones.py - AUR metadata → AUR RPC: queries metadata
kpa/aurapi.py - Command handlers → Git operations: manages repositories
kpa/funciones.py - Git operations → Git remotes: clones and fetches
kpa/git.py - Command handlers → System package tools: builds and manages packages
- Command handlers → Safety and cache utilities: checks safety and cleans cache
kpa/funciones.py - Safety and cache utilities → AUR metadata: gets package warnings
kpa/extra_utils.py - Command handlers → Configuration: reads and updates settings
kpa/funciones.py - Command handlers → Terminal formatting: prints status
kpa/funciones.py - Safety and cache utilities → Terminal formatting: prints prompts and warnings
kpa/extra_utils.py - Configuration → Terminal formatting: reports config issues
kpa/parser.py