CmdID

CmdID / Commands

uvicorn

Python ASGI HTTP Server, for asynchronous projects. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Run Python web app

uvicorn import.path:app_objectIdentify

Listen on port 8080 on localhost

uvicorn --host localhost --port 8080 import.path:app_objectIdentify

Turn on live reload

uvicorn --reload import.path:app_objectIdentify

Use 4 worker processes for handling requests

uvicorn --workers 4 import.path:app_objectIdentify

Run app over HTTPS

uvicorn --ssl-certfile cert.pem --ssl-keyfile key.pem import.path:app_objectIdentify