Wiki

Clone wiki

CherryPy / Home

Welcome to cherrypy.org

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 ten 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 cherrypy

class HelloWorld(object):
    def index(self):
        return "Hello World!"
    index.exposed = True

cherrypy.quickstart(HelloWorld())

See the ZenOfCherryPy for our design sensibilities.

Versions

BranchStatusWhat's NewUpgradingBrowse Source
3.23.2.5WhatsNewIn32UpgradeTo32branches/cherrypy-3.2.x
3.13.1.2WhatsNewIn31UpgradeTo31branches/cherrypy-3.1.x
3.03.0.4WhatsNewIn30UpgradeTo30branches/cherrypy-3.0.x
2.22.2.1WhatsNewIn22UpgradeTo22branches/cherrypy-2.x
2.12.1.1WhatsNewIn21branches/cherrypy-2.1
2.02.0.0UpgradeTo20tags/cherrypy-2.0.0

Recipes

You will find a set of recipes for common tasks here.

Updated