Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

0MQ based Service Oriented RPC Framework

Project Description

The butler framework aims to make building reliable and high-performance service-oriented systems easy. The internal communication is done via ØMQ sockets.


Start a Router:

import butler

router = butler.Router()

Register a Service Worker by name:

worker = butler.Service('tcp://', 'api.images')

Expose a function on the Service Worker:

def resize_image(name, size):
    return 'resized image'


Or expose all the methods of an object:

class RPCService(object):
    def resize_image(self, name, size):
        return 'resized image'


Send a request to a registered Service and receive its response:

client = butler.Client('tcp://').rpc('api.images')
client.resize_image('test.jpeg', '150x180')
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
butler-0.3.0.tar.gz (9.7 kB) Copy SHA256 Checksum SHA256 Source Feb 10, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting