Uvicorn is an ASGI web server implementation for Python. Until recently Python has lacked a minimal low-level server/application interface for async frameworks. The ASGI specification fills this gap, and means we're now able to start building a common set of tooling usable across all async frameworks. Uvicorn currently supports HTTP/1.1 and WebSockets.

Features

  • The event loop uvloop will be installed and used if possible
  • The http protocol will be handled by httptools if possible
  • Most well established Python Web frameworks started out as WSGI-based frameworks
  • WSGI applications are a single, synchronous callable that takes a request and returns a response
  • A strength of the ASGI protocol is that it decouples the server implementation from the application framework
  • It is run widely in production, and supports HTTP/1.1, HTTP/2, and WebSockets

Project Samples

Project Activity

See All Activity >

Categories

HTTP Servers

License

BSD License

Follow uvicorn

uvicorn Web Site

Other Useful Business Software
Go From AI Idea to AI App Fast Icon
Go From AI Idea to AI App Fast

One platform to build, fine-tune, and deploy ML models. No MLOps team required.

Access Gemini 3 and 200+ models. Build chatbots, agents, or custom models with built-in monitoring and scaling.
Try Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of uvicorn!

Additional Project Details

Programming Language

Python

Related Categories

Python HTTP Servers

Registered

2023-05-08