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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
Start 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