skillfed

glances-api

Python API for interacting with Glances

glances-api v0.10.0 74.4K downloads/30d#14,833 on PyPI4
Permissive license MIT Active released

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-api

uv

uv add glances-api

poetry

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 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

Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Utilities

Tags

glances api clientsystem monitoring pythonglances http clientremote system statsglances python wrapper
monitoringglanceshttp-client

More Utilities packages