CherryPy

A Minimalist Python Web Framework

CherryPy for Enterprise

CherryPy is as easy as…

import cherrypy

class HelloWorld(object):
    @cherrypy.expose
    def index(self):
        return "Hello World!"

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

For Enterprise

CherryPy and the maintainers of thousands of other packages are working with Tidelift to deliver one enterprise subscription that covers all of the open source you use.

If you want the flexibility of open source and the confidence of commercial-grade software, this is for you. Learn more.

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.