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

You Might Also Like
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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