adding python client code