{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/17"},{"label":"Sound/Audio","url":"https://skillfed.io/packages/category/multimedia-sound-audio"},{"label":"Home Automation","url":"https://skillfed.io/packages/category/home-automation"},{"label":"Players","url":"https://skillfed.io/packages/category/multimedia-sound-audio-players"}],"enrichment":{"capability":"SoCo is a Python library for programmatic control of Sonos speakers over a network, supporting playback, volume, queue management, and speaker grouping.","skillfed_tags":["home-automation","sonos","upnp"],"use_cases":["Automate music playback across multiple Sonos speakers from a Python script or home automation system.","Build a custom web dashboard or mobile app to control Sonos speakers without relying on the official Sonos app.","Integrate Sonos control into a larger home automation workflow (e.g., play music when motion is detected).","Programmatically manage speaker groups and queue content based on time of day or external events.","Query current playback state and track information to log listening history or trigger actions based on what's playing."],"what_it_does":"SoCo provides a Python interface to control Sonos speakers on your local network. It lets you discover speakers, adjust volume and playback, manage queues, group speakers, and retrieve track information\u2014all programmatically rather than through the official app. The library communicates with Sonos devices via UPnP/SOAP protocols and exposes both high-level convenience methods (play, pause, volume) and lower-level access to Sonos services for advanced use cases.\n\nThe package depends on requests for HTTP communication, xmltodict and lxml for parsing Sonos XML responses, ifaddr for network interface discovery, and appdirs for configuration storage. It supports Python 3.6 and newer, including recent versions through 3.14. The library is actively maintained and has been in development since 2013, with a team of contributors managing the GitHub repository.","worth_installing":"Yes. SoCo is actively maintained, has no known vulnerabilities, installs with low friction, and is released under a permissive MIT license. It is well-suited for anyone needing programmatic control of Sonos speakers. Be aware that some music services (Spotify, Apple Music, Amazon Music, Google Play Music, Napster) have known authentication issues; local library and TuneIn radio are more reliable. If your use case centers on those services, verify the current status of issue #557 before committing."},"id":"soco","links":{"html":"https://skillfed.io/packages/soco","md":"https://skillfed.io/packages/soco.md","pypi":"https://pypi.org/project/soco/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-29","license_spdx":null,"license_treatment":"permissive","name":"soco","python_support":"supports_current","summary":"SoCo (Sonos Controller) is a simple library to control Sonos speakers."},"popularity":{"monthly_downloads":164232,"position":10556,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.31.2"}
