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.
Metadata
Release files for python-upnp 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| python_upnp-1.0.0.tar.gz | 20.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| python_upnp-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 48.3 kB
Release files / python_upnp-1.0.0.tar.gz
| Download URL | python_upnp-1.0.0.tar.gz |
|---|---|
| Size | 20.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0a98eed620705d55092e11a744493158b56866648cb0f8091b611267048f41c5
|
|
BLAKE2b-256 checksum How to use checksums |
83f9aa17d367ed43ec361e94a245c14988a6e232b5215da1560825029319eea6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|
Release files / python_upnp-1.0.0-py3-none-any.whl
| Download URL | python_upnp-1.0.0-py3-none-any.whl |
|---|---|
| Size | 27.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc773482b5c60b91649c4b46b418466a7937e14d2ad7048286ddc0c806f2ebfb
|
|
BLAKE2b-256 checksum How to use checksums |
cf332264980c9075e4eb2382d2f57a0290c9b96827a5508c64d873e23329c0b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.31.0
|