Software Alternatives & Reviews

CherryPy VS Sanic

Compare CherryPy VS Sanic and see what are their differences

CherryPy logo CherryPy

CherryPy allows developers to build web applications in much the same way they would build any other object-oriented Python program.

Sanic logo Sanic

Python 3.5+ web server that's written to go fast
  • CherryPy Landing page
    Landing page //
    2023-09-18
  • Sanic Landing page
    Landing page //
    2023-10-03

CherryPy videos

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

Sanic videos

Trying The NEW Sanic Chili Dog GFUEL Flavor - FIRST TASTE TEST!

More videos:

  • Review - SANIC IS CONTRACTUALLY OBLIGATED TO GO FAST - THE GAME/THE REVIEW
  • Review - Review: Sanic Ball

Category Popularity

0-100% (relative to CherryPy and Sanic)
Python Web Framework
100 100%
0% 0
Application Server
0 0%
100% 100
Web Frameworks
100 100%
0% 0
Web And Application Servers

User comments

Share your experience with using CherryPy and Sanic. 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 CherryPy and Sanic

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: –

Sanic Reviews

Top 5 Asynchronous Web Frameworks for Python
Although in syntax and features, Vibora is comparable to Sanic (or maybe even slightly better as it bundles popular libraries and things like templating are available out of the box), I’d consider Sanic to be more mature as it’s been around longer and has a bigger community.
Source: geekflare.com

Social recommendations and mentions

Based on our record, Sanic should be more popular than CherryPy. It has been mentiond 5 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.

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 2 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 2 years ago

Sanic mentions (5)

  • A Look on Python Web Performance at the end of 2022
    Sanic is very very popular with 16.6k stars, 1.5k forks, opencollective sponsors and a very active github. Falcon is more popular than japronto with 8.9k stars, 898 forks, opencollective sponsors and a very active github too. Despite Japronto been keeped as first place by TechEmPower, Falcon is a way better solution in general with performance similar to fastify an very fast node.js framework that hits 575k... - Source: dev.to / over 1 year ago
  • Top Python Coding Repos
    Requests - A simple, yet elegant, HTTP library. Sanic - Next generation Python web server/framework | Build fast. Run fast. Click - Python composable command line interface toolkit Elasticsearch-dsl-py - High level Python client for Elasticsearch Panel - A high-level app and dashboarding solution for Python Internetarchive - A Python and Command-Line Interface to Archive.org Coconut - Simple, elegant,... - Source: dev.to / over 1 year ago
  • Social media app made with FastAPI
    Personally I haven’t used it outside of trying a few very basic things. I’d recommend blacksheep if you want small, performant and low overhead, or sanic which, in my opinion, is the best choice if you do not need all the Django fluff. Source: almost 2 years ago
  • Nodemon, how does it work under the hood?
    Dunno how much this will help, but you can check out how Sanic does auto reloading. Source: over 2 years ago
  • Ask HN: What novel tools are you using to write web sites/apps?
    You should take a look at sanic https://github.com/sanic-org/sanic. - Source: Hacker News / about 3 years ago

What are some alternatives?

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

Django - The Web framework for perfectionists with deadlines

Tornado - A Python web framework and asynchronous networking library, originally developed at FriendFeed

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

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

web2py - Web2py is an open source web application framework.

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