CmdID

CmdID / Commands

waitress-serve

Pure Python WSGI HTTP Server. 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 a Python web app

waitress-serve import.path:wsgi_funcIdentify

Listen on port 8080 on localhost

waitress-serve --listen=localhost:8080 import.path:wsgi_funcIdentify

Start waitress on a Unix socket

waitress-serve --unix-socket=path/to/socket import.path:wsgi_funcIdentify

Use 4 threads to process requests

waitress-serve --threads=4 import.path:wsgifuncIdentify

Call a factory method that returns a WSGI object

waitress-serve --call import.path.wsgi_factoryIdentify

Use the HTTPS URL scheme

waitress-serve --url-scheme=https import.path:wsgi_funcIdentify