Simple RPC in C++, with Python binding