Skip to content
CherryPy is a pythonic, object-oriented HTTP framework. https://docs.cherrypy.org/
Python Other
  1. Python 99.9%
  2. Other 0.1%
Branch: master
Clone or download
Latest commit 1980247 Nov 28, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Upgrade storing test results in Circle CI Sep 17, 2018
.github Add a GitHub funding config Oct 17, 2019
.test-results/pytest Preserve test runs folder in Git tree Sep 16, 2018
cherrypy Merge branch 'master' into bugfix/1827-headermap-keytype Nov 27, 2019
docs Change memcached package anchor in the basic doc Nov 3, 2019
man Remove the deperecated backward compatibility for legacy config keys … Jul 24, 2016
tests Remove future imports Sep 4, 2018
visuals Lossless Compression of images saves 25KB Nov 4, 2017
.appveyor.yml Teach AppVeyor console understand Unicode Aug 26, 2019
.codecov.yml Integrate pytest-cov and codecov.io Aug 11, 2017
.flake8 Ignore inherently-contradictory flake8 rules Jun 23, 2019
.gitattributes Set union merge strategy for changelog Jun 18, 2018
.gitignore Preserve test runs folder in Git tree Sep 16, 2018
.mention-bot Integrate Facebook's mention bot Oct 15, 2017
.pre-commit-config-pep257.yaml Update pre-commit config syntax Jun 23, 2019
.pre-commit-config.yaml Update pre-commit config syntax Jun 23, 2019
.readthedocs.yml Make RTD build docs under 3.6 Jan 13, 2018
.travis.yml Add docs build job into CI Oct 17, 2019
CHANGES.rst Merge branch 'master' into bugfix/1827-headermap-keytype Nov 27, 2019
LICENSE.md Increment Copyright year Jun 26, 2019
README.rst 📝 Add Tidelift badge to README Nov 25, 2019
conftest.py Don't try collecting tests in docs May 11, 2018
pytest.ini Ignore pending imp deprecation warning under py3.5 Sep 4, 2019
setup.cfg Use 'dists' for the distributions for release, syncing with jaraco/sk… Aug 14, 2018
setup.py Revert "For now inline the implementation until it can be linked. Ref #… Nov 27, 2019
tox.ini Remove hotfix for pypa/pip#6434 Oct 17, 2019

README.rst

CherryPy is available as part of the Tidelift Subscription 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://circleci.com/gh/cherrypy/cherrypy/tree/master.svg?style=svg https://img.shields.io/appveyor/ci/CherryPy/cherrypy/master.svg?label=Windows%20build%20%40%20Appveyor https://img.shields.io/badge/license-BSD-blue.svg?maxAge=3600 stable https://api.codacy.com/project/badge/Grade/48b11060b5d249dc86e52dac2be2c715 codecov

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.

For Enterprise

CherryPy is available as part of the Tidelift Subscription.

The CherryPy maintainers 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.

Learn more.

Contributing

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

You can’t perform that action at this time.