{"library":"ssdp","title":"SSDP (Simple Service Discovery Protocol)","type":"library","description":"Python asyncio library for Simple Service Discovery Protocol (SSDP). Supports both client and server roles, enabling discovery and advertisement of network services. Current version 1.3.1, released under MIT license. Active development with asyncio-native design.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install ssdp"],"cli":null},"imports":["from ssdp import SSDPClient","from ssdp import SSDPServer","from ssdp import SSDPError"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":"https://github.com/codingjoe/ssdp","docs":null,"changelog":"https://github.com/codingjoe/ssdp/releases","pypi":"https://pypi.org/project/ssdp/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"import asyncio\nfrom ssdp import SSDPClient\n\nasync def discover():\n    client = SSDPClient()\n    async with client:\n        services = await client.discover(st='upnp:rootdevice', mx=3)\n        for service in services:\n            print(f'Location: {service.location}')\n\nasyncio.run(discover())","lang":"python","description":"Discover UPnP devices on the network.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}