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
- A reliable, HTTP/1.1-compliant, WSGI thread-pooled webserver.
- Easy to run multiple HTTP servers (e.g. on multiple ports) at once.
- A powerful configuration system for developers and deployers alike.
- A flexible plugin system.
- Built-in tools for caching, encoding, sessions, authentication, static content, and many more.
- Swappable and customizable…everything.
- Built-in profiling, coverage, and testing support.
- Runs on Python 2.7+, 3.5+, PyPy, Jython and Android.
FOR ENTERPRISE
AVAILABLE AS PART OF THE TIDELIFT SUBSCRIPTION
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:
- Fork CherryPy on GitHub here and submit pull-request with your modifications.
- Join us on Gitter or IRC #cherrypy channel on the OFTC network.
- Subscribe to the CherryPy users mailing list.
LICENSE
CherryPy is distributed under a BSD license.