uvicorn VS Flask

Compare uvicorn vs Flask and see what are their differences.

uvicorn

An ASGI web server, for Python. 🦄 (by encode)

Flask

The Python micro framework for building web applications. (by pallets)
Our great sponsors
  • Sonar - Write Clean Python Code. Always.
  • Mergify - Updating dependencies is time-consuming.
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
uvicorn Flask
50 130
7,022 64,193
2.9% 0.8%
8.7 8.7
6 days ago 11 days ago
Python Python
BSD 3-clause "New" or "Revised" License BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

uvicorn

Posts with mentions or reviews of uvicorn. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-01.

Flask

Posts with mentions or reviews of Flask. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-16.

What are some alternatives?

When comparing uvicorn and Flask you can also consider the following projects:

hypercorn

daphne - Django Channels HTTP/WebSocket server

fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production

Django - The Web framework for perfectionists with deadlines.

hypercorn - Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.

quart - An async Python micro framework for building web applications.

AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python

starlette - The little ASGI framework that shines. 🌟

Tornado - Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed.

CherryPy - CherryPy is a pythonic, object-oriented HTTP framework. https://cherrypy.dev

web.py - web.py is a web framework for python that is as simple as it is powerful.

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