Skip to main content
Help us improve Python packaging – donate today!

Object-Oriented HTTP framework

Project Description

https://readthedocs.org/projects/cherrypy/badge/?version=latest https://img.shields.io/travis/cherrypy/cherrypy/master.svg?label=Linux%20build%20%40%20Travis%20CI https://img.shields.io/appveyor/ci/jaraco/cherrypy/master.svg?label=Windows%20build%20%40%20Appveyor https://api.codacy.com/project/badge/Grade/48b11060b5d249dc86e52dac2be2c715

Welcome to the GitHub repository of CherryPy!

CherryPy is a pythonic, object-oriented HTTP framework.

  1. It allows building web applications in much the same way one would build any other object-oriented program.
  2. This design results in less and more readable code being developed faster. It’s all just properties and methods.
  3. It is now more than ten years old and has proven fast and very stable.
  4. It is being used in production by many sites, from the simplest to the most demanding.
  5. And perhaps most importantly, it is fun to work with :-)

Here’s how easy it is to write “Hello World” in CherryPy:

import cherrypy

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

cherrypy.quickstart(HelloWorld())

And it continues to work that intuitively when systems grow, allowing for the Python object model to be dynamically presented as a web site and/or API.

While CherryPy is one of the easiest and most intuitive frameworks out there, the prerequisite for understanding the CherryPy documentation is that you have a general understanding of Python and web development. Additionally:

If the docs are insufficient to address your needs, the CherryPy community has several avenues for support.

Contributing

Please follow the contribution guidelines. And by all means, absorb the Zen of CherryPy.

Release history Release notifications

History Node

14.2.0

History Node

14.1.0

History Node

14.0.1

History Node

14.0.0

History Node

13.1.0

History Node

13.0.1

History Node

13.0.0

History Node

12.0.2

History Node

12.0.1

History Node

12.0.0

History Node

11.2.0

History Node

11.1.0

History Node

11.0.0

History Node

10.2.2

This version
History Node

10.2.1

History Node

10.2.0

History Node

10.1.1

History Node

10.1.0

History Node

10.0.0

History Node

9.0.0

History Node

8.9.1

History Node

8.9.0

History Node

8.8.0

History Node

8.7.0

History Node

8.6.0

History Node

8.5.0

History Node

8.4.0

History Node

8.4.0a2

History Node

8.3.1

History Node

8.3.0

History Node

8.2.0

History Node

8.1.3

History Node

8.1.2

History Node

8.1.1

History Node

8.1.0

History Node

8.0.1

History Node

8.0.0

History Node

7.1.0

History Node

7.0.0

History Node

6.2.1

History Node

6.2.0

History Node

6.1.1

History Node

6.1.0

History Node

6.0.2

History Node

6.0.1

History Node

6.0.0

History Node

5.6.0

History Node

5.5.0

History Node

5.4.0

History Node

5.3.0

History Node

5.2.0

History Node

5.1.0

History Node

5.0.1

History Node

5.0.0

History Node

4.0.0

History Node

3.8.2

History Node

3.8.1

History Node

3.8.0

History Node

3.7.0

History Node

3.6.0

History Node

3.5.0

History Node

3.4.0

History Node

3.3.0

History Node

3.2.6

History Node

3.2.5

History Node

3.2.4

History Node

3.2.3

History Node

3.2.2

History Node

3.2.0

History Node

3.1.2

History Node

3.1.1

History Node

3.1.0

History Node

3.1.0rc1

History Node

3.1.0beta3

History Node

3.1b1

History Node

3.0.4

History Node

3.0.3

History Node

3.0.2

History Node

3.0.1

History Node

3.0.0

History Node

3.0.0RC1

History Node

3.0.0beta2

History Node

3.0.0beta

History Node

2.3.0

History Node

2.2.1

History Node

2.2.0

History Node

2.2.0rc1

History Node

2.2.0beta

History Node

2.1.1

History Node

2.1.0

History Node

2.1.0-beta

History Node

2.0.0b

History Node

0.10

History Node

2.0.0-final

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
CherryPy-10.2.1-py2.py3-none-any.whl (435.2 kB) Copy SHA256 hash SHA256 Wheel py2.py3 Mar 13, 2017
CherryPy-10.2.1.tar.gz (688.2 kB) Copy SHA256 hash SHA256 Source None Mar 13, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page