Controlling Pirate Audio Speaker

I have a pirate audio smol speaker setup with the web client (iris) but I was wondering if there is any way to get it to play mp3 files through python code.

Any help would be appreciated!