packages:
    default:
        actions:
            helloPy:
                code: |
                    import sys
                    def main(dict):
                        if 'name' in dict:
                            name = dict['name']
                        else:
                            name = "stranger"
                        greeting = "Hello " + name + "!"
                        print(greeting)
                        return {"greeting": greeting}
                runtime: python:2
