Hug vs Kemal: What are the differences?
What is 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.
What is Kemal? Fast, simple web framework for Crystal. Lightning Fast, Super Simple micro web framework written in Crystal programming language Inspired by Sinatra. .
Hug and Kemal can be primarily classified as "Microframeworks (Backend)" tools.
Hug and Kemal are both open source tools. Hug with 5.8K GitHub stars and 344 forks on GitHub appears to be more popular than Kemal with 2.61K GitHub stars and 140 GitHub forks.
What is Hug?
What is Kemal?
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 Hug?
What are the cons of using Kemal?
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.