Rpc gives you a consistent API for RPC protocols that doesn’t suck!
Because you too can have nice things:
from rpc import thrifty
import Service
with thrifty.client("localhost:45678", Service) as c:
print c.ping()
See the same code the way the Thrift documentation would have you do it.
Nobody likes writing boilerplate code - so stop writing it!
Rpc makes creating clients easy - contextmanagers where you have to keep track of connections, and class factories for places where that doesn’t matter.
By abstracting away the mechanics of associating your function handlers from protocol specific code, RPC allpows you an easy way to create RPC servers, and makes serving to multiple protocols so much easier.
Not only that, but you also have easy ways to perform common tasks like daemonizing your servers, and providing start/stop scripts for them