$npx skillfedfor your agent

asusrouter

API wrapper for communication with ASUSWRT-powered routers using HTTP protocol

With conditionsPyPI LibrariesReleased Dec 202573.7K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — asusrouter-1.21.3-py3-none-any.whl
v1.21.3 · released 2025-12-09 · Python >=3.11.0 · 3 runtime deps: aiohttp, urllib3, xmltodict

Yes, if you own an ASUS router and need programmatic access to it from Python. Low install friction, active maintenance, permissive license, and no known vulnerabilities make it a safe choice. The async design fits well into modern Python applications. Verify that your specific router model and firmware version are supported before relying on it for production automation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.11 or later; must provide valid router hostname, username, and password; aiohttp event loop and session management required.
  • Low install friction; pure Python wheel with three common async/HTTP dependencies (aiohttp, urllib3, xmltodict).
  • Actively maintained with recent commits; requires Python 3.11 or later.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most integration and automation scenarios.

last release 2025-12-09 (248 days) · last repo commit 2026-08-13 · 124 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 73,745 downloads/mo, #14,935 on PyPI

Verify before relying

pip install asusrouter

import aiohttp
import asyncio
from asusrouter import AsusRouter, AsusData

loop = asyncio.new_event_loop()
session = aiohttp.ClientSession(loop=loop)
router = AsusRouter(hostname="router.my.address", username="admin", password="password", session=session)
loop.run_until_complete(router.async_connect())
data = loop.run_until_complete(router.async_get_data(AsusData.NETWORK))
loop.run_until_complete(router.async_disconnect())
loop.run_until_complete(session.close())
  • Whether all ASUSWRT device models are actually supported or only those explicitly listed in documentation.
  • Performance characteristics and timeout behavior under high-frequency polling or large data queries.
  • Compatibility with custom firmware versions beyond the tested firmware versions shown in the device tables.
Same gist for agents: .md · .json

What it is and what it does

Asusrouter is a Python library that wraps the HTTP API of ASUSWRT-powered routers, enabling programmatic access to router configuration, status, and control functions. It uses async/await patterns via aiohttp to communicate with routers over HTTP or HTTPS, parsing responses with xmltodict. The library is designed primarily for Home Assistant integrations but can be used standalone in any async Python application that needs to interact with ASUS routers.

The package supports a wide range of ASUS router models across WiFi standards (WiFi 6, 6e, and 7), with both stock ASUSWRT and AsusWRT-Merlin firmware. It abstracts away the low-level HTTP protocol details and XML parsing, exposing a simple async API for querying network data and managing router settings. Installation is straightforward with minimal dependencies, and the codebase is actively maintained.

Use it for

  • Monitor network status and connected device information from an ASUS router in a Home Assistant automation.
  • Query WiFi performance metrics and signal strength data for reporting or alerting systems.
  • Programmatically reboot or reconfigure ASUS router settings from a custom network management tool.
  • Build a dashboard that aggregates real-time router statistics and client connection logs.
  • Integrate ASUS router telemetry into a broader IoT monitoring platform using async Python.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you own an ASUS router and need programmatic access to it from Python.

Low install friction, active maintenance, permissive license, and no known vulnerabilities make it a safe choice. The async design fits well into modern Python applications. Verify that your specific router model and firmware version are supported before relying on it for production automation.

Install

asusrouter on PyPI

Before you install

Low install friction; pure Python wheel with three common async/HTTP dependencies (aiohttp, urllib3, xmltodict). Actively maintained with recent commits; requires Python 3.11 or later.

Requires Python 3.11 or later; must provide valid router hostname, username, and password; aiohttp event loop and session management required.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most integration and automation scenarios.

Quickstart

pip install asusrouter

import aiohttp
import asyncio
from asusrouter import AsusRouter, AsusData

loop = asyncio.new_event_loop()
session = aiohttp.ClientSession(loop=loop)
router = AsusRouter(hostname="router.my.address", username="admin", password="password", session=session)
loop.run_until_complete(router.async_connect())
data = loop.run_until_complete(router.async_get_data(AsusData.NETWORK))
loop.run_until_complete(router.async_disconnect())
loop.run_until_complete(session.close())

Verify before relying

  • Whether all ASUSWRT device models are actually supported or only those explicitly listed in documentation.
  • Performance characteristics and timeout behavior under high-frequency polling or large data queries.
  • Compatibility with custom firmware versions beyond the tested firmware versions shown in the device tables.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.11.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
aiohttpurllib3xmltodict
MaintenanceActively maintained 248 days since the last release
Last repo commit
First released
Downloads73,745 / month, #14,935 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries

Evidence: asusrouter-1.21.3-py3-none-any.whl

Tags

Capabilities
asus router api wrapperasuswrt http clientrouter network managementasync asus router controlasuswrt device communicationhome automation router integrationasus wifi router api
Topics
home-automationasync-httpnetwork-management

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “asus router api wrapper”

  • asusrouterAsynchronous API wrapper for querying and controlling ASUSWRT-powered…
  • aioasuswrtAsync Python wrapper for querying ASUS router state over SSH,…
  • python-otbr-apiProvides a Python client to interact with an OpenThread Border Router…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also aioasuswrt · aiopnsense · pynetgear · fritzconnection · axis · python-otbr-api · sfrbox-api · pydaikin · pyvesync · pyprusalink