Otto iconOtto 1.2

WSGI-compliant HTTP publisher
Otto is an application that uses a routes-like syntax to map URLs to code and supports object traversal.

You can use the publisher to write web applications. It was designed with both small and large applications in mind. The documentation includes a tutorial and examples which show how to solve common problems.

import otto
import webob
import wsgiref.simple_server

app = otto.Application()

def hello_world(request):
 return webob.Response(u"Hello world!")

wsgiref.simple_server.make_server('', 8080, app).serve_forever()

This starts an application server which serves the hello world application on http://localhost:8080.

Hello world!

Otto works with Python 2.6 or newer.

last updated on:
November 17th, 2009, 14:29 GMT
developed by:
Malthe Borch
license type:
BSD License 
ROOT \ Internet \ HTTP (WWW)


In a hurry? Add it to your Download Basket!

user rating



What's New in This Release:
  • Features:
  • Route matches that come before object mapping are passed on to the mapper on instantiation; these matches are then not passed to the controller.
read full changelog

Add your review!