The CGIXMLRPCRequestHandler class can be used to handle XML-RPC requests sent to Python CGI scripts.
system.listMethods, system.methodHelp and
system.methodSignature.
system.multicall.
Example:
class MyFuncs: def div(self, x, y) : return x // y handler = CGIXMLRPCRequestHandler() handler.register_function(pow) handler.register_function(lambda x,y: x+y, 'add') handler.register_introspection_functions() handler.register_instance(MyFuncs()) handler.handle_request()