--- id: glances-api version: "0.10.0" license: MIT license_treatment: permissive maintenance: active --- # glances-api — Python API for interacting with Glances License: permissive · Maintenance: active · Downloads: 74.4K/mo ## What it is and what it does glances-api is an unofficial Python client for the Glances system monitoring tool. It provides a way to programmatically fetch system statistics from a Glances server instance running on a local or remote machine via HTTP. The package wraps HTTP communication using httpx and exposes Glances data through Python method calls. The library is intended for developers who want to integrate Glances monitoring data into their own applications—dashboards, automation scripts, or alerting systems. It is actively maintained, supports Python 3.13 and 3.14, and carries no known security vulnerabilities. The single runtime dependency keeps installation straightforward. Use it for: - Fetch system metrics from a Glances server in a monitoring dashboard or alerting script. - Build custom system health checks that query Glances data and trigger notifications based on thresholds. - Integrate live system metrics into a home automation or infrastructure management tool. - Collect historical system statistics by polling a Glances instance at regular intervals. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. A Python client library for querying system monitoring data from a running Glances instance over HTTP. Yes, if you need programmatic access to Glances monitoring data. The package has low install friction, active maintenance, permissive licensing, and no known vulnerabilities. The main constraint is the Python 3.13+ requirement and the need for a running Glances server; verify that the API surface matches your use case before committing. ## Install pip install glances-api uv add glances-api poetry add glances-api ## Installing glances-api Before you install: Low install friction with a single runtime dependency (httpx). The package is actively maintained with a recent release and supports current Python versions. License in practice: MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions. Quickstart: pip install glances_api import httpx from glances_api import GlancesClient client = GlancesClient(httpx.Client(), "http://localhost") stats = client.get_system_stats() Requires Python 3.13 or later; requires a running Glances server instance to connect to. Verify before relying: - What specific system metrics or data types the client can retrieve from Glances. - Whether the package supports authentication or TLS/SSL connections to Glances. - API stability guarantees given the 'Alpha' development status classification. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 74.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags glances api client, system monitoring python, glances http client, remote system stats, glances python wrapper, monitoring, glances, http-client [View on SkillFed](https://skillfed.io/packages/glances-api) · [View on PyPI](https://pypi.org/project/glances-api/)