Software Alternatives, Accelerators & Startups

web2py VS CherryPy

Compare web2py VS CherryPy and see what are their differences

Note: These products don't have any matching categories. If you think this is a mistake, please edit the details of one of the products and suggest appropriate categories.

web2py logo web2py

Web2py is an open source web application framework.

CherryPy logo CherryPy

CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program.
  • web2py Landing page
    Landing page //
    2018-09-30
  • CherryPy Landing page
    Landing page //
    2023-09-18

web2py features and specs

  • Ease of Use
    web2py provides a user-friendly web-based interface and requires no installation, making it easy even for beginners to use. It also includes a web-based IDE and administrative interface.
  • Security
    It comes with built-in security features like XSS, CSRF, and SQL Injection protection by default, ensuring safer web applications out of the box.
  • No Configuration Required
    web2py runs with zero configuration, allowing developers to start coding immediately without worrying about initial setup.
  • Cross-Platform Compatibility
    web2py can run on any system that supports Python, providing cross-platform compatibility including Windows, macOS, and Linux.
  • Full-Stack Framework
    As a full-stack framework, web2py includes everything needed to build a web application, from the database to the web server and the front-end interface.
  • Real-Time Error Logging
    The framework offers real-time error logging which aids in easy troubleshooting and debugging during development.
  • Internationalization Support
    Built-in support for internationalization and localization, making it easier to develop applications for a global audience.
  • Active Community and Documentation
    web2py has a strong community and extensive documentation which greatly aids in quick issue resolution and learning the framework.

Possible disadvantages of web2py

  • Less Popular
    web2py is not as popular as other modern frameworks like Django or Flask, leading to fewer third-party plugins, extensions, and community support.
  • Performance
    While web2py is designed for productivity and ease of use, it may not offer the same level of performance optimizations that some other frameworks provide.
  • Lack of Asynchronous Support
    web2py does not natively support asynchronous request handling, which can be a limitation for applications requiring real-time capabilities.
  • Learning Curve
    Despite being beginner-friendly, the framework's custom syntax and paradigms might still present a learning curve for developers used to other frameworks.
  • Monolithic Design
    The monolithic nature of web2py can make it less flexible compared to micro-frameworks like Flask, especially for developers who prefer a modular approach.
  • Limited Ecosystem
    Due to its lower popularity, the ecosystem for third-party libraries, plugins, and tools is relatively limited compared to more widely adopted frameworks.
  • Not Ideal for Large Projects
    web2py is often considered ideal for simple to moderately complex applications but may not be suitable for very large or highly specialized projects.

CherryPy features and specs

  • Simplicity
    CherryPy is known for its minimalistic and straightforward approach, making it easy to learn and use for rapid development.
  • Pythonic Design
    It is designed to be very Pythonic, allowing developers to leverage Python idioms and structures which results in more readable and maintainable code.
  • Built-in Server
    CherryPy has a built-in HTTP server, so developers don’t need to set up an external server like Apache or Nginx for testing or simple deployments.
  • Object-Oriented Programming
    Supports object-oriented programming, which allows developers to structure their web application code efficiently and logically.
  • Versatile
    Suitable for building small-to-medium scale web applications and services. It can be used for both RESTful interfaces and traditional websites.

Possible disadvantages of CherryPy

  • Limited Ecosystem
    Compared to larger frameworks like Django or Flask, CherryPy has a smaller community and fewer third-party plugins or extensions.
  • Basic Features
    Lacks some advanced out-of-the-box features that larger frameworks provide, which might require additional development effort.
  • Scalability Challenges
    While suitable for many projects, CherryPy might not be the best choice for highly-scalable, high-performance applications out of the box.
  • Documentation
    Though documented, some developers find CherryPy’s documentation less comprehensive than that of more popular frameworks, potentially making troubleshooting and learning harder.
  • Community Support
    With a smaller user base, community support and resources such as tutorials, guides, and forums are more limited compared to more popular frameworks.

web2py videos

Web development with Python and web2py Part1

More videos:

  • Review - Full Stack Web Development with Python WEB2PY
  • Review - Web2py & Py4web

CherryPy videos

Python Frameworks | Top 5 Frameworks In Python | Django, Web2Py, Flask, Bottle, CherryPy | Edureka

Category Popularity

0-100% (relative to web2py and CherryPy)
Web And Application Servers
Python Web Framework
0 0%
100% 100
Web Servers
100 100%
0% 0
Web Frameworks
56 56%
44% 44

User comments

Share your experience with using web2py and CherryPy. For example, how are they different and which one is better?
Log in or Post with

Reviews

These are some of the external sources and on-site user reviews we've used to compare web2py and CherryPy

web2py Reviews

  1. Yeral Garcia Mayedo
    · Student at University of Camagüey ·
    Best framework for newbies

    It's a framework to rapid development with a nice DAL to connect to the databases. great for me. Just less than 20mb to download and you have all you need to do develop offline.

CherryPy Reviews

25 Python Frameworks to Master
The main task of CherryPy is to handle HTTP requests and match them with the adequate logic written by the developers. This means that by default, CherryPy doesn’t provide database access or HTML templating, leaving all the logic of the application to you.
Source: kinsta.com
Exploring 5 Alternatives to Flask in Python for Web Development
CherryPy is a high-performance web framework in Python that uses a multi-threaded server to handle requests. It provides a powerful API that enables developers to build web applications quickly and efficiently. CherryPy also has support for various third-party plugins and tools that can be easily integrated into the framework. To install CherryPy, use the following command:
Source: msalinasc.com
Top 8 Python Tools For App Development
About: CherryPy is an object-oriented web framework in Python. It allows the users to develop web applications in a similar way they would develop any other object-oriented Python programs. Some of the features of this framework are: –

Social recommendations and mentions

Based on our record, CherryPy should be more popular than web2py. It has been mentiond 2 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

web2py mentions (1)

  • would it be ok to post backup restore code and instructions and have a backups folder for easy finding?
    Web2py {{for _item in response.menu or []:}} {{if len(_item)<4 or not \_item\[3\]:}} {{=_item[0]}} {{else:}} {{=_item[0]}} {{for _subitem in _item[3]:}} {{=_subitem[0]}} {{pass}} {{pass}} {{pass}} {{if 'auth' in globals():}} {{if auth.user:}}{{=auth.user.first_name}}{{else:}}LOGIN{{pass}} {{if auth.user:}} {{=T('Profile')}} {{if 'change_password' not in... Source: about 3 years ago

CherryPy mentions (2)

  • How to serve Django for an Electron app
    Generally, what needs to be done to create an Django/Electron app is to package (I'm using pyInstaller)the Django app into an stand-alone executable and then bundle that into an Electron app. The question is which server should be used for this case to server Django before packaging it with pyInstaller? At the moment I'm using cherryPy as a WSGI web server to serve Django. Source: about 3 years ago
  • Flask, CherryPy and static content
    I know there are plenty of questions about Flask and CherryPy and static files but I still can't seem to get this working. Source: about 3 years ago

What are some alternatives?

When comparing web2py and CherryPy, you can also consider the following products

Microsoft IIS - Internet Information Services is a web server for Microsoft Windows

Django - The Web framework for perfectionists with deadlines

Apache Tomcat - An open source software implementation of the Java Servlet and JavaServer Pages technologies

Flask - a microframework for Python based on Werkzeug, Jinja 2 and good intentions.

LiteSpeed Web Server - LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement.

Bottle - bottle.py is a fast and simple micro-framework for python web-applications.