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
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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