Getting started
Requirements
- Python 3.10 or newer
psutil(installed with the library package)- Optional:
distro(Linux),tldextract(PSL-aware domain redaction)
Platform tools such as nft, brew, or systemctl are used only when
present. The tool never installs OS packages.
Install
CLI (recommended for command-line use)
Installs the core library and registers the sysinfo console script:
Library only
For programmatic collection without a console script:
From source (development)
Editable install of both workspace packages with dev extras:
The library import path is lupaxa.sysinfo. The CLI module is
lupaxa.sysinfo_cli (python -m lupaxa.sysinfo_cli).
First run
Default: basic info to stdout as pretty JSON:
CI-friendly collection (common sections, no spinner, strict missing):
YAML or XML output can be printed or saved directly:
sysinfo --all --output yaml
sysinfo --all --yaml sysinfo.yaml
sysinfo --all --output xml
sysinfo --profile support --xml sysinfo.xml
Environment variables are excluded from --all and every profile. Enable
them explicitly with --env only when they are needed.