skip to navigation
skip to content

biloba 0.9.3

Latest Version: 3.1.0

As in Ginkgo (of which this module was inspired). Provides gevent primitives to orchestrate different orthogonal servers and services together.

Basic usage:

from gevent import wsgi

import biloba

def hello_world(environ, start_response):
    start_response('200 OK', [('Content-Type', 'text/html')])

    return ['<b>Hello world!</b>\n']

class MyService(biloba.Service):
    def make_web_server(self):
        return wsgi.WSGIServer(
            ('localhost', 5000),

    def do_start(self):
        self.web_server = self.make_web_server()


        # you can add more servers/services here

if __name__ == '__main__':
    my_service = MyService()

    # start is called by join

    except KeyboardInterrupt:

    # as is stop
File Type Py Version Uploaded on Size
biloba-0.9.3.tar.gz (md5) Source 2014-02-16 7KB
  • Downloads (All Versions):
  • 0 downloads in the last day
  • 0 downloads in the last week
  • 777 downloads in the last month