from http.server import HTTPServer, SimpleHTTPRequestHandler



PORT = 8080

def run(server_class=HTTPServer, handler_class=SimpleHTTPRequestHandler):
    """Entrypoint for python server"""
    server_address = ("0.0.0.0", PORT)
    httpd = server_class(server_address, handler_class)
    print("launching server...")
    httpd.serve_forever()


if __name__ == "__main__":
    run()
