MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / get_system_info

Function get_system_info

cli-python/datakit_local/cli.py:18–24  ·  view source on GitHub ↗

Get system information for diagnostics

()

Source from the content-addressed store, hash-verified

16
17
18def get_system_info():
19 """Get system information for diagnostics"""
20 return {
21 "platform": f"{platform.system()} {platform.release()} ({platform.machine()})",
22 "python_version": platform.python_version(),
23 "datakit_version": get_version("datakit-local"),
24 }
25
26
27@click.group(invoke_without_command=True)

Callers 1

infoFunction · 0.85

Calls 1

get_versionFunction · 0.85

Tested by

no test coverage detected