glances-api
Python API for interacting with Glances
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 on this page — 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
glances-api on PyPI
pip
pip install glances-apiuv
uv add glances-apipoetry
poetry add glances-apiInstalling 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 the current Python release (<4.0,>=3.13) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — httpx |
| Maintenance | actively maintained — 121 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 74,434/month — #14,833 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: glances_api-0.10.0-py3-none-any.whl
Tags
More Utilities packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
charset-normalizerDetects and normalizes text encoding from…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
PygmentsPygments is a syntax highlighter that colorizes…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
GlancesGlances is a cross-platform system monitoring…
copyleft · top 15,000 on PyPI
python-freeipapython-freeipa is a lightweight client library…
permissive · top 15,000 on PyPI
influxdbClient library for writing to and querying…
permissive · top 5,000 on PyPI
freebox-apiAsynchronous Python library for authenticating…
copyleft · top 15,000 on PyPI
elmax-apiAn async Python client for the Elmax Cloud API…
permissive · top 15,000 on PyPI
datadog-api-clientPython client library for the Datadog API,…
permissive · top 1,000 on PyPI
pypistatsQueries the PyPI Stats API to retrieve download…
permissive · top 15,000 on PyPI
seeq-spySeeq-spy is a Python interface for interacting…
unclear · top 15,000 on PyPI
pywizlightA Python library and CLI tool for discovering…
permissive · top 15,000 on PyPI
opencensusOpenCensus provides distributed tracing and…
permissive · top 1,000 on PyPI