When comparing Pyramid vs CherryPy, the Slant community recommends Pyramid for most people. In the question“What are the best general-purpose Python web frameworks usable in production sites?” Pyramid is ranked 5th while CherryPy is ranked 9th. The most important reason people chose Pyramid is:
Pyramid can be used for creating small applications quickly and easily, but it also powers up large enterprise-scale applications such as Dropbox.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Very flexible
Pyramid can be used for creating small applications quickly and easily, but it also powers up large enterprise-scale applications such as Dropbox.
Pro Persistence agnostic
Either NoSQL and SQL (including SQLAlchemy plugin).
Pro Comes with security included
Includes authorization and authentication with multiple backends.
Pro Robust configuration mechanism
It's very easy to choose what processes you want by turning them on or off. You can also configure per-URL as well.
Pro Has production-ready server
Comes with a production level wsgi server that can be used instead of / in addition to gunicorn etc.
Pro Helps you organize the structure of your code
CherryPy provides some dispatcher patterns that support a wide range of functionality and provide some helpful ways of organizing the code.
Cons
Con The great number of options it offers can become intimidating
One of Pyramid's greatest drawbacks is that it requires a lot of set up in the beginning of a project. This can feel overwhelming and can keep people away from using it.
Con Lacking good documentation
CherryPy's documentation could use some work. It generally feels very slim and is seriously lacking in some parts. For a beginner who is just starting with Python Frameworks, working with CherryPy's documentation would be very hard.
