CherryPy - Trac

Posted on November 14, 2008 in How-to

CherryPy   - CherryPy is a pythonic, object-oriented HTTP framework.

CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program. This results in smaller source code developed in less time.

CherryPy is now more than six years old and it is has proven very fast and stable. It is being used in production by many sites, from the simplest ones to the most demanding ones.

Oh, and most importantly: CherryPy is fun to work with :- Here's how easy it is to write "Hello World" in CherryPy 3:

import cherrypyclass
HelloWorldobject:def indexself:
return "Hello World"
index.exposed = True
cherrypy.quickstartHelloWorld

Examples: Hello World & What is your name?