String inputs to packaged python transforms in marketplace

I have a transform in a python code repository that I would like to package in marketplace and deploy to test/prod environments. Some of my code has environment-specific logic (e.g. append the name of the environment to certain resources, don’t make API calls in test environment, etc), so when I deploy my marketplace product I would like to pass in the name of the environment as a parameter. What is the best way to accomplish this?