adding ability for generate-api.py to be invoked from the command line to generate the python sdk helper