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

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.