In the same way that you would deploy a storage account or a upload a blob file from Python.
I am essentially looking for the Python equivalent of the following bash commands
az functionapp create --resource-group $RESOURCE_GROUP_NAME --os-type Linux --consumption-plan-location $AZ_LOCATION --runtime python --runtime-version 3.6 --functions-version 2 --name $APP_NAME --storage-account $STORAGE_ACCOUNT_NAME
func new --name $FUNC_NAME --template "Azure Queue Storage trigger"
func azure functionapp publish $APP_NAME --build-native-deps
A cop-out would be to just have the Python script run the shell commands, but I am looking for a more elegant solution if one exists.