add python endpoint skeleton