Cross-platform system inventory library and CLI: modular collectors, granular redaction, and JSON / YAML / XML / HTML reports.
Built for automation and support workflows used by The Lupaxa Project.
- Lightweight defaults: basic host info as pretty-printed JSON
- Opt-in collectors: CPU, memory, disks, network, listening ports, processes, firewall, runtimes, GPU, packages
- Granular redaction for hosts, users, IPs, secrets, domains, and custom regexes
- Profiles for common workflows:
minimal,ci,support - Output formats (CLI): JSON, YAML, XML, human summary, and compact HTML
- Library API returns plain dictionaries with
schema_versionandtool_version - Fully typed, linted, formatted, and tested
- MkDocs documentation included
pip install lupaxa-sysinfopip install -e ".[dev]"from lupaxa.sysinfo import collect_report
report = collect_report(cpu=True, memory=True)For CollectOptions, RedactOptions, and profiles, see the
documentation.
sysinfo --help
sysinfo --version
sysinfo --profile ci --json report.json
sysinfo --all --yaml report.yaml
sysinfo --all --output xml
sysinfo --profile support --xml report.xmlYou can also run the CLI as a module:
python -m lupaxa.sysinfo --help
python -m lupaxa.sysinfo --profile ci --json out.json- Python 3.10+
- Runtime dependencies:
psutil,PyYAML,tldextract(plusdistroon Linux)
Online documentation:
Source repository:
From a clone of the repository:
make mkdocs-serveThen open the local URL printed by MkDocs in your browser.
Clone the repository and install with Make:
make init # first-time makefile-skills checkout
make python-install-dev # editable install with [dev]
make python-check # lint, type-check, and test