Starpy wrapper for AMI usage in Python