You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frompysysinfoimportHardwareManagerimportjsonhm=HardwareManager()
data=hm.fetch_hardware_info()
# All data returned are Pydantic models and have strict schema# You can use it as is, or serialize it to JSON if you wish.# We print the data in JSON here for readability.json_data=json.loads(data.model_dump_json())
print(json.dumps(json_data, indent=2))
Tracker
Hardware Discovery Progress Tracker
Component
Linux
macOS
Windows
CPU
✅
✅
✅
GPU
✅
✅
✅* (1)
Memory
✅
✅
✅
Network
❌
✅
✅
Audio
❌
❌
✅
Motherboard
❌
❌
✅
Storage
✅
✅
✅
Display
❌
❌* (2)
✅* (3)
Vendor
❌
❌
➖
Input
❌
❌
❌
PCIe gen info only for Nvidia
In progress
Need to rewrite C++ bindings
Miscellaneous Tasks / Problems
Task
Status
GH actions for compiling interops/{platform}/*.{c|cpp} to their respective output directories
❌
Group Pydantic Model fields into essential and optional
❌
Remove pyobjc dependency in macOS by rewriting dependent code chunks in C++