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 Code to Production URL in Seconds Icon
Go from Code to Production URL in Seconds

Cloud Run deploys apps in any language instantly. Scales to zero. Pay only when code runs.

Skip the Kubernetes configs. Cloud Run handles HTTPS, scaling, and infrastructure automatically. Two million requests free per month.
Try it 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