You will not get out of the Pythonista app sandbox, or out of your application sandbox if you deploy via XCode. That is, you can control the volume while your application is running, but not set some new system-wide limit otherwise.

Unless you're targeting jailbroken devices, in which case you can probably do a lot through the ObjC bridge, but then I would think that maybe Python is not your effective starting point.