liveBook · Manning

Uvicorn

Uvicorn is an asynchronous Python web-server implementation that runs applications conforming to the Asynchronous Server Gateway Interface.

How 2 Manning books explain it

Software Engineering for Data Scientists

Uvicorn is an asynchronous Python web server implementation for running ASGI applications.

How it is used
Runs FastAPI applications so clients can send requests to Python API endpoints.
How deep it goes
Explains the server role and demonstrates installation, launch, request testing, and network availability.
Examples
Uses a testing endpoint and a customer-churn prediction API queried with JSON inputs.
What you can do after
Operate/configure FastAPI locally with Uvicorn and test a model-serving endpoint through HTTP requests.

Read how Software Engineering for Data Scientists explains Uvicorn →

Designing AI Systems

Uvicorn is an ASGI server that listens for network connections and dispatches incoming requests to an ASGI application.

How it is used
Serves FastAPI workflow endpoints at the external HTTP boundary while those endpoints call internal platform services through gRPC.
How deep it goes
Explains event-loop multiplexing, thread dispatch, response modes, and worker processes, but does not detail Uvicorn internals.
Examples
Uses a workflow runtime server and a four-worker entry point listening on port 8000.
What you can do after
Operate/configure Uvicorn to serve an ASGI workflow application with selected response handling and multiple workers.

Read how Designing AI Systems explains Uvicorn →

Also covered in

What to know first

Related concepts

Questions about Uvicorn

What is Uvicorn?

Uvicorn is an asynchronous Python web-server implementation that runs applications conforming to the Asynchronous Server Gateway Interface.

Which Manning books explain Uvicorn?

Software Engineering for Data Scientists and Designing AI Systems.

What should I know before learning Uvicorn?

Manning books that teach Uvicorn usually introduce ASGI, container, Python and contract first.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.