PyUPnP
UPnP library in pure python. Client and server. Typed.
Installation
pip install python-upnp
Usage
CLI Client
$ pyupnp_client --help
usage: pyupnp_client [-h] [--user-agent USER_AGENT] [--friendly-name FRIENDLY_NAME] [--max-delay [1-5]]
[-L ADDRESS[%IFACE]] [-r ADDRESS[:PORT]] [-t TARGET] [--count COUNT]
[--interval INTERVAL] [-u UDN] [-d] [-i [UDN/...]SERVICE_ID/ACTION]
[-a ARG=VALUE [ARG=VALUE ...]] [--quiet]
options:
-h, --help show this help message and exit
--user-agent USER_AGENT
Client user agent string.
--friendly-name FRIENDLY_NAME
Client friendly name.
--max-delay [1-5] Maximum delay for multicast search in seconds.
-L ADDRESS[%IFACE], --local-address ADDRESS[%IFACE]
Local address and interface. Can be specified multiple times.
-r ADDRESS[:PORT], --remote-address ADDRESS[:PORT]
Remote address and port for unicast SSDP discovery.
-t TARGET, --target TARGET
Discovery target.
--count COUNT Count of discovery requests to send.
--interval INTERVAL Interval between discovery requests.
-u UDN, --udn UDN Device UDN. Can be specified multiple times. If not specified, all devices will be processed.
-d, --dump Dump found devices information.
-i [UDN/...]SERVICE_ID/ACTION, --invoke [UDN/...]SERVICE_ID/ACTION
Invoke action on specified service. Arguments are specified by --arg.
-a ARG=VALUE [ARG=VALUE ...], --args ARG=VALUE [ARG=VALUE ...]
Arguments to pass to action. Used with --invoke.
--quiet Suppress console output.
License
MIT License. Full test available in LICENSE file.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
python_upnp-1.0.0.tar.gz
(20.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_upnp-1.0.0.tar.gz.
File metadata
- Download URL: python_upnp-1.0.0.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a98eed620705d55092e11a744493158b56866648cb0f8091b611267048f41c5
|
|
| MD5 |
690310b85088b00c721ee51e0ab70c2c
|
|
| BLAKE2b-256 |
83f9aa17d367ed43ec361e94a245c14988a6e232b5215da1560825029319eea6
|
File details
Details for the file python_upnp-1.0.0-py3-none-any.whl.
File metadata
- Download URL: python_upnp-1.0.0-py3-none-any.whl
- Upload date:
- Size: 27.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
python-requests/2.31.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc773482b5c60b91649c4b46b418466a7937e14d2ad7048286ddc0c806f2ebfb
|
|
| MD5 |
c3856b6e4952779606a7bfd9d298b47e
|
|
| BLAKE2b-256 |
cf332264980c9075e4eb2382d2f57a0290c9b96827a5508c64d873e23329c0b3
|