uvicorn
An ASGI web server, for Python. 🦄 (by encode)
daphne
Django Channels HTTP/WebSocket server (by django)
uvicorn | daphne | |
---|---|---|
68 | 7 | |
9,244 | 2,509 | |
2.2% | 1.5% | |
8.5 | 6.4 | |
9 days ago | 7 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.
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 2025-05-02.
-
A2A Python Tutorial - Comprehensive Guide
We're almost ready to start our server! We'll be using the A2AServer class from Google-A2A which under the hood starts a uvicorn server.
-
Understanding the Relation Between FastAPI and Uvicorn
FastAPI and Uvicorn are two essential building blocks when developing high-performance Python APIs.
-
How to use FastAPI for microservices in Python
To run the server, you will also need to install Uvicorn:
-
Understanding Uvicorn: The basics
So I've decided to create another series of articles, and this time talking about another piece of FastAPI development: ASGI servers, and mainly focusing on 🦄 uvicorn due to the evident synergy between both projects 😎.
-
What I wish I knew about Python when I started
Finally, whatever file launches your application (in this case, mine is main.py), it is conventional to include that if __name__ == "main": block at the bottom (shown above), to specify the entrypoint to your application. This isn't strictly necessary in many use cases—for instance, if you're writing a REST API using FastAPI and launching it via uvicorn, you don't need this block. But it also doesn't hurt to have it regardless. It's a helpful reminder of where things begin.
-
FastAPI Tutorial: Build, Deploy, and Secure an API for Free
This article is written by Marcelo Trylesinski, a > FastAPI expert and > maintainer of Starlette and > Uvicorn. You can check out more of his work > here. All opinions expressed are his own.
-
Show HN: I reverse engineered X to Read Threads without Any Account as Articles
Since, app has selenium minimum running requirement would be 1GB RAM on any OS, and free version of any hosting do not provide that, some that provide are limited by build times or shared cpus.
So it was only logical to go through the pain/pleasure of setting up deployment on VM.
Python Backend is deployed on Azure VM(with 4 GB), since it's built on Fastapi their AWSGI support helps keep the server running on long intervals.
This one is using CF Tunnels to Prod to reduce the latency due to server location.
You can see uvicorn docs to learn more https://www.uvicorn.org/
-
Top 20 Python API Frameworks with OpenAPI Support
Uvicorn is a lightning-fast ASGI server implementation, using uvloop and httptools. It is designed to run asynchronous Python web applications, particularly those built with frameworks like FastAPI, Starlette, and others.
-
How to Build a Python API from Scratch with FastAPI
Uvicorn - An ASGI web server implementation for Python
-
uvicorn VS tremolo - a user suggested alternative
2 projects | 11 Jul 2024
daphne
Posts with mentions or reviews of daphne.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-07-12.
-
daphne VS tremolo - a user suggested alternative
2 projects | 12 Jul 2024
-
Run simultaneously UWSGI and ASGI with Django
I'm trying to implement a real time chat and I took a look at Channel. The documentation mentions that the server needs to be run with Daphne, and Daphne needs an asynchronous version of UWSGI named ASGI.
-
How to deploy any Python Web Application?
Daphne
-
Is there a recommended library for asynchronous HTTP servers in R?
For example, there are the servers: Daphne: https://github.com/django/daphne Uvicorn: https://www.uvicorn.org/ Hypercorn: https://pgjones.gitlab.io/hypercorn/index.html
- Deploy Django Application on private owned server with Docker
- TypeError: SelectorEventLoop required, instead got: <uvloop.Loop running=False closed=False debug=False>
-
How does django give a project a default ip or localhost when using runserver
This. To add between Django and nginx there is a application server that can talk to Django using wsgi and more recently asgi as it’s async compatible protocol. See daphne that implements asgi protocol. If you have trouble understanding you will find much more examples using wsgi with gnuicorn or uwsgi.
What are some alternatives?
When comparing uvicorn and daphne you can also consider the following projects:
granian - A Rust HTTP server for Python applications
hypercorn - Hypercorn is an ASGI and WSGI Server based on Hyper libraries and inspired by Gunicorn.
Flask - The Python micro framework for building web applications.
hypercorn