Utilities for SONOS based on the socos python library