Provides a python interface to interact with the Webmin XML-RPC API.
Find a file
2024-05-01 07:03:06 +02:00
webmin_xmlrpc Add ruff rules 2024-05-01 07:03:06 +02:00
.gitignore Version 0.0.1 2024-01-03 19:00:19 +01:00
LICENSE Initial commit 2024-01-03 18:47:12 +01:00
pyproject.toml Add ruff rules 2024-05-01 07:03:06 +02:00
README.md Version 0.0.1 2024-01-03 19:00:19 +01:00

Webmin XML-RPC python package

This package provides a python interface to interact with the Webmin XML-RPC API.

Usage

from aiohttp.client import ClientSession
from webmin_xmlrpc.client import WebminInstance
from yarl import URL

base_url = URL.build(host="example.com", scheme="https")
session = Clientsession(base_url)
instance = WebminInstance(session)

async def get_data():
    data = await instance.update()

Exposed data

  • Load (1m, 5m, 15m)
  • Network interfaces
  • Memory information
  • Uptime
  • Local disk space information