CherryPy

A Minimalist Python Web Framework

CherryPy is as easy as…

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

cherrypy.quickstart(HelloWorld())

CherryPy is a pythonic, object-oriented web 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 seven years old and it is has proven to be very fast and stable. It is being used in production by many sites, from the simplest to the most demanding.

Features

Online tests

Each time we change our codebase, a test runs so you can see the results here.

Contribute

CherryPy is an open-source project, thus, welcoming contributions.
If you are interested you may:

License

CherryPy is distributed under a BSD license.