Falcon vs Hug: What are the differences?
Falcon: High-performance Python framework for building cloud APIs and web app backends. Falcon is a minimalist WSGI library for building speedy web APIs and app backends. We like to think of Falcon as the Dieter Rams of web frameworks; Hug: New Python REST API and CLI micro-framework. Hug aims to make developing Python driven APIs as simple as possible, but no simpler. As a result, it drastically simplifies Python API development.
Falcon and Hug belong to "Microframeworks (Backend)" category of the tech stack.
"Python" is the primary reason why developers consider Falcon over the competitors, whereas "Simple" was stated as the key factor in picking Hug.
Falcon and Hug are both open source tools. Falcon with 6.8K GitHub stars and 707 forks on GitHub appears to be more popular than Hug with 5.8K GitHub stars and 344 GitHub forks.
What is Falcon?
What is Hug?
Need advice about which tool to choose?Ask the StackShare community!
Sign up to add, upvote and see more prosMake informed product decisions
What are the cons of using Falcon?
What are the cons of using Hug?
Sign up to get full access to all the companiesMake informed product decisions
Unlike our frontend, we chose Flask, a microframework, for our backend. We use it with Python 3 and Gunicorn.
One of the reasons was that I have significant experience with this framework. However, it also was a rather straightforward choice given that our backend almost only serves REST APIs, and that most of the work is talking to the database with SQLAlchemy .
We could have gone with something like Hug but it is kind of early. We might revisit that decision for new services later on.