Welcome to RPC’s documentation!

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!

Clients

Rpc makes creating clients easy - contextmanagers where you have to keep track of connections, and class factories for places where that doesn’t matter.

RPC Clients

Servers

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.

RPC Servers

Not only that, but you also have easy ways to perform common tasks like daemonizing your servers, and providing start/stop scripts for them

Controlling your RPC Servers

Indices and tables

Project: RPC
Language: Python
License: LGPL
Source
Bugs

Table Of Contents

Next topic

rpc.chain

This Page