A simple python package to gather host information from Windows, Mac and Linux. Returns host data as dicts to be used internally or sent to front-end dashboard applications as JSON.
Project description
Host Info
Overview
A simple python package to gather host information from Windows, Mac and Linux. Returns host data as dicts to be used internally or sent to front-end dashboard applications as JSON.
Installation
Install Host Info:
python3 -m pip install host-inspector
Development
To get a list of all commands with descriptions simply run make.
make env
make pip_install_editable
Testing
make pytest
make coverage
make open_coverage
Issues
If you experience any issues, please create an issue on Github.
Example Usage
from host_inspector import get_device_info
from host_inspector import get_health_info
print(get_device_info())
print(get_health_info())
# You can also call individual methods:
from host_inspector import get_cpu_info
from host_inspector import get_datetime_info
from host_inspector import get_disk_info
from host_inspector import get_gpu_info
from host_inspector import get_mem_info
from host_inspector import get_network_info
from host_inspector import get_os_info
from host_inspector import get_platform_info
from host_inspector import get_uptime_info
History
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
0.1.0 (2025-08-06)
- First release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file host_inspector-0.1.0.tar.gz.
File metadata
- Download URL: host_inspector-0.1.0.tar.gz
- Upload date:
- Size: 17.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
869ab5284f4a426374164be2109bfc75b0eee60b39bf57a5512f18ac6008030d
|
|
| MD5 |
abbecb73b531f175e96457d22b9ece17
|
|
| BLAKE2b-256 |
b3a9b5bfae838420f179610e550407e9744aa20e622472be070e12be6349ee97
|
File details
Details for the file host_inspector-0.1.0-py3-none-any.whl.
File metadata
- Download URL: host_inspector-0.1.0-py3-none-any.whl
- Upload date:
- Size: 22.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b55469d9519cfb9b42e35688ee6e96cfabdef979e869fc0811a3ae79fb25802d
|
|
| MD5 |
80e61c32b0377b369da3a36d947f4ebe
|
|
| BLAKE2b-256 |
2367fa08d257150a2144cedbf64c2e600407b04f16916e592377df36e44051a7
|