Skip to main content

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

Coverage

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

0.1.1 (2005-09-04)

  • ADDED: Support for getting Windows Firewall status and rules

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

host_inspector-0.1.1.tar.gz (20.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

host_inspector-0.1.1-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file host_inspector-0.1.1.tar.gz.

File metadata

  • Download URL: host_inspector-0.1.1.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for host_inspector-0.1.1.tar.gz
Algorithm Hash digest
SHA256 dcb7ae460b2d3ef7a38e3255eb4ac1531efa01b0c6b8ccd286fb20999f9cdb51
MD5 4c9b8f015550d05b831bb37b65b00f44
BLAKE2b-256 c0f114560261f8d46370b78101be1085086a508df326787029c827fe30de8773

See more details on using hashes here.

File details

Details for the file host_inspector-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: host_inspector-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for host_inspector-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ad19eb11efea0a371c76cbbfa4f52a9f7193789925b2bcdb9843534f80e25b14
MD5 841eb4dea5f003de4db80b32bbd67f69
BLAKE2b-256 87ba906778ca59062cea10d71ac5ac74d76b1a17815835889e986e328bb1a676

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page