Examples (6)
Run a Python web app
waitress-serve import.path:wsgi_funcListen on port 8080 on localhost
waitress-serve --listen=localhost:8080 import.path:wsgi_funcStart waitress on a Unix socket
waitress-serve --unix-socket=path/to/socket import.path:wsgi_funcUse 4 threads to process requests
waitress-serve --threads=4 import.path:wsgifuncCall a factory method that returns a WSGI object
waitress-serve --call import.path.wsgi_factoryUse the HTTPS URL scheme
waitress-serve --url-scheme=https import.path:wsgi_funcmade by @shridhargupta | data from tldr-pages