What is the current choice for doing RPC in Python?
What is the current choice for doing RPC in Python?
XML-RPC is part of the Python standard library:
- Python 2: xmlrpclib and SimpleXMLRPCServer
- Python 3: xmlrpc (both client and server)
Apache Thrift is a cross-language RPC option developed at Facebook. Works over sockets, function signatures are defined in text files in a language-independent way.
What is the current choice for doing RPC in Python?
Since Ive asked this question, Ive started using python-symmetric-jsonrpc. It is quite good, can be used between python and non-python software and follow the JSON-RPC standard. But it lacks some examples.