async-upnp-client
Async UPnP Client
Decision gist · record as of 2026-08-14
Yes. The library is actively maintained, production-stable, has no known vulnerabilities, low install friction, and a permissive license. Install it if you need to integrate UPnP device discovery or control into an asyncio application, particularly for DLNA or home automation use cases.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; asyncio event loop must be running.
- Low install friction with four straightforward dependencies.
- Active maintenance with a release 19 days ago and recent commits; the project is marked Production/Stable and supports current Python versions (3.10–3.14).
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
last release 2026-07-26 (19 days) · last repo commit 2026-08-14 · 54 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 149,019 downloads/mo, #11,006 on PyPI
Alternatives
Verify before relying
import asyncio
from async_upnp_client import UpnpFactory
async def main():
factory = UpnpFactory()
devices = await factory.async_search()
for device in devices:
print(device)
asyncio.run(main())- Whether the library fully implements all UPnP Device Architecture sections or has known gaps beyond what the description notes.
- Performance characteristics when handling many concurrent device connections or subscriptions.
- Compatibility with specific UPnP device types beyond the three profiles (IGD, DLNA, printer) mentioned.
What it is and what it does
async-upnp-client is an asyncio-based UPnP client library for Python that discovers, describes, controls, and subscribes to events from UPnP devices on a network. It maps to the UPnP Device Architecture standard, providing modules for SSDP discovery, device description parsing, service control, and event handling. The library includes profiles for Internet Gateway Devices (IGD), DLNA media renderers, and printers, making it suitable for home automation and network device integration.
The package is built on aiohttp for HTTP communication, defusedxml for safe XML parsing, python-didl-lite for DLNA metadata, and voluptuous for validation. It exposes both a programmatic API for integration into larger applications and a command-line tool (upnp-client) for ad-hoc device discovery, action invocation, and event subscription. Originally developed for Home Assistant, it is production-ready and actively maintained.
Use it for
- Discover and control DLNA media renderers (speakers, TVs) from a Python application.
- Query and manage Internet Gateway Device (IGD) settings like port forwarding and WAN status.
- Build a home automation hub that listens for UPnP device advertisements and state changes.
- Invoke UPnP service actions (e.g., GetVolume, Play) on networked devices programmatically.
- Monitor printer status and capabilities via UPnP service subscriptions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The library is actively maintained, production-stable, has no known vulnerabilities, low install friction, and a permissive license. Install it if you need to integrate UPnP device discovery or control into an asyncio application, particularly for DLNA or home automation use cases.
Install
async-upnp-client on PyPI
Before you install
Low install friction with four straightforward dependencies. Active maintenance with a release 19 days ago and recent commits; the project is marked Production/Stable and supports current Python versions (3.10–3.14).
Requires Python 3.10 or later; asyncio event loop must be running.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
import asyncio
from async_upnp_client import UpnpFactory
async def main():
factory = UpnpFactory()
devices = await factory.async_search()
for device in devices:
print(device)
asyncio.run(main())
Verify before relying
- Whether the library fully implements all UPnP Device Architecture sections or has known gaps beyond what the description notes.
- Performance characteristics when handling many concurrent device connections or subscriptions.
- Compatibility with specific UPnP device types beyond the three profiles (IGD, DLNA, printer) mentioned.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaiohttpdefusedxmlpython-didl-litevoluptuous |
| Maintenance | Actively maintained 19 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 149,019 / month, #11,006 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: async_upnp_client-0.48.0-py3-none-any.whl
Tags
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 › “upnp client asyncio”
- async-upnp-clientAsync UPnP client library for discovering, controlling, and eventing…
- miniupnpcPython binding for MiniUPnPc library that enables applications to…
- python-didl-liteReads and writes DIDL-Lite XML documents, a standard format for…
Give your agent the search over MCP, or paste the wish link into any chat.
More Internet packages
Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.
Install it if you need programmatic access to AWS services.
Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.
Install it if you need to call AWS services from async Python code; it is the standard way to do so.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.
See also aioqsw · miniupnpc · aiohomekit · wiim · python-songpal · unifi-discovery · aioslimproto · aiohasupervisor · python-didl-lite · pysensibo