Otto 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()

@app.route("/")
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
price:
FREE!
developed by:
Malthe Borch
homepage:
www.ottohttp.org
license type:
BSD License 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!
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!

SUBMIT