Object-Oriented HTTP framework
Project description
Welcome to the GitHub repository of CherryPy!
CherryPy is a pythonic, object-oriented HTTP framework.
It allows building web applications in much the same way one would build any other object-oriented program.
This design results in more concise and readable code developed faster. It’s all just properties and methods.
It is now more than ten years old and has proven fast and very stable.
It is being used in production by many sites, from the simplest to the most demanding.
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 website 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:
Tutorials are included in the repository: https://github.com/cherrypy/cherrypy/tree/master/cherrypy/tutorial
A general wiki at: https://github.com/cherrypy/cherrypy/wiki
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.
Contributing
Please follow the contribution guidelines. And by all means, absorb the Zen of CherryPy.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file CherryPy-18.9.0.tar.gz
.
File metadata
- Download URL: CherryPy-18.9.0.tar.gz
- Upload date:
- Size: 631.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b06c191ce71a86461f30572a1ab57ffc09f43143ba8e42c103c7b3347220eb1 |
|
MD5 | 014dbd400aeda9d2b098ed01c95b4a30 |
|
BLAKE2b-256 | bd5fe265a49883bfcfb7f2c3d3d9e96197cfe8136783e96c5ce20e201550aaa0 |
File details
Details for the file CherryPy-18.9.0-py3-none-any.whl
.
File metadata
- Download URL: CherryPy-18.9.0-py3-none-any.whl
- Upload date:
- Size: 348.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d8168b039a28c3ae41888ef0eb02c561ba0b6c519d2f4c10a88a1d19673a3805 |
|
MD5 | 21f81e642bf26f252862821d9d4ebed0 |
|
BLAKE2b-256 | db7db03f8f44b5748119828ca628cf51d915704e1c4428f6f9caa5089b25fe60 |