werkzeug.serving.run_simple(hostname, port, application, use_reloader=False, use_debugger=False, use_evalex=True, extra_files=None, exclude_patterns=None, reloader_interval=1, reloader_type='auto', threaded=False, processes=1, request_handler=None, static_files=None, passthrough_errors=False, ssl_context=None)  
Start a WSGI application. Optional features include a reloader, multithreading and fork support. This function has a command-line interface too: python -m werkzeug.serving --help
  Changed in version 2.0: Added exclude_patterns parameter.   Changelog Changed in version 0.15: Bind to a Unix socket by passing a path that starts with unix:// as the hostname.   New in version 0.10: Improved the reloader and added support for changing the backend through the reloader_type parameter. See Reloader for more information.   New in version 0.9: Added command-line interface.   New in version 0.8: Added support for automatically loading a SSL context from certificate file and private key.   New in version 0.6: support for SSL was added.   New in version 0.5: static_files was added to simplify serving of static files as well as passthrough_errors.   Parameters 
 
hostname (str) – The host to bind to, for example 'localhost'. If the value is a path that starts with unix:// it will bind to a Unix socket instead of a TCP socket.. 
port (int) – The port for the server. eg: 8080
 
application (WSGIApplication) – the WSGI application to execute 
use_reloader (bool) – should the server automatically restart the python process if modules were changed? 
use_debugger (bool) – should the werkzeug debugging system be used? 
use_evalex (bool) – should the exception evaluation feature be enabled? 
extra_files (Optional[Iterable[str]]) – a list of files the reloader should watch additionally to the modules. For example configuration files. 
exclude_patterns (Optional[Iterable[str]]) – List of fnmatch patterns to ignore when running the reloader. For example, ignore cache files that shouldn’t reload when updated. 
reloader_interval (int) – the interval for the reloader in seconds. 
reloader_type (str) – the type of reloader to use. The default is auto detection. Valid values are 'stat' and 'watchdog'. See Reloader for more information. 
threaded (bool) – should the process handle each request in a separate thread? 
processes (int) – if greater than 1 then handle each request in a new process up to this maximum number of concurrent processes. 
request_handler (Optional[Type[werkzeug.serving.WSGIRequestHandler]]) – optional parameter that can be used to replace the default one. You can use this to replace it with a different BaseHTTPRequestHandler subclass. 
static_files (Optional[Dict[str, Union[str, Tuple[str, str]]]]) – a list or dict of paths for static files. This works exactly like SharedDataMiddleware, it’s actually just wrapping the application in that middleware before serving. 
passthrough_errors (bool) – set this to True to disable the error catching. This means that the server will die on errors but it can be useful to hook debuggers in (pdb etc.) 
ssl_context (Optional[Union[ssl.SSLContext, Tuple[str, Optional[str]], te.Literal['adhoc']]]) – an SSL context for the connection. Either an ssl.SSLContext, a tuple in the form (cert_file, pkey_file), the string 'adhoc' if the server should automatically create one, or None to disable SSL (which is the default).   Return type 
None