sonos-websocket
Async Python library to communicate with Sonos devices over websockets.
Example use: Audio Clips
Sonos audio clip functionality will overlay playback of the provided media on top of currently playing music. The music playback volume will be lowered while the audio clip is played and automatically returned to its original level when finished. This feature is especially useful for text-to-speech and alert sounds.
The below shows how to run sonos-websocket as a script:
python -m sonos_websocket \
--ip_addr 192.168.1.88 \
--uri https://freetestdata.com/wp-content/uploads/2021/09/Free_Test_Data_100KB_MP3.mp3 \
--volume 15
Basic use of how to integrate the package can be found here.
Metadata
Release files for sonos-websocket 0.2.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 | Provenance | Actions |
|---|---|---|---|---|
| sonos_websocket-0.2.0.tar.gz | 6.0 kB | Without provenance | Details for sonos_websocket-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sonos_websocket-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for sonos_websocket-0.2.0-py3-none-any.whl |
Total release size: 11.7 kB
Release files / sonos_websocket-0.2.0.tar.gz
| Download URL | sonos_websocket-0.2.0.tar.gz |
|---|---|
| Size | 6.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b272943bcc07b2f16f8ca1d8221a16e969c26a4b08f97512c3f64463921367c0
|
|
BLAKE2b-256 checksum How to use checksums |
d1d67a0d223ccc1d9b3aa892856a5cd219743e28bcc8b569fd5c6f579bde4f27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Release files / sonos_websocket-0.2.0-py3-none-any.whl
| Download URL | sonos_websocket-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6984df420612751e5a62a9942cab7614d5291c04957ffeb096e67ca788c29e39
|
|
BLAKE2b-256 checksum How to use checksums |
556a2fba124551b9cb63fbb59d3b879a2ff646a3f791ce2d785152517f422ce3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for sonos-websocket 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.