Simple python server API