Jupyter Notebook基础(6)Jupyter Notebook命令行命令帮助

Jupyter Notebook当前版本为6.3.0

Jupyter Notebook命令行命令格式

Jupyter Notebook命令

  • jupyter notebook [filename.ipynb]:启动Jupyter Notebook服务器,默认端口为8888,如果8888被占用(例如已经启动过Jupyter Notebook服务器),端口id会依次增加。通过可选的filename.ipynb,可以在启动Jupyter Notebook服务器时,在编辑器中打开filename.ipynb文件。

Jupyter Notebook子命令

Jupyter Notebook命令还具有3个子命令。

  • jupyter notebook list:列出正在运行的Jupyter Notebook服务器
  • jupyter notebook stop [portid]:关闭正在运行的Jupyter Notebook服务器 ,默认关闭端口为8888的服务器,通过可选的portid参数可关闭运行在指定端口的Jupyter Notebook服务器 ,例如jupyter notebook stop 8889
  • jupyter notebook password:为Jupyter Notebook服务器设置密码,设置密码后运行Jupyter Notebook客户端启动后会开启密码验证。

Jupyter Notebook命令和子命令选项

Jupyter Notebook命令和子命令都可以使用命令选项进行进一步配置。
格式为命令 [选项]
通过--help选项或-h选项可以查看命令参数帮助。
通过--help-all选项可以可配置类选项的完全帮助。
选项是可配置类选项的别名。

Jupyter Notebook命令选项

jupyter notebook --help命令结果。

使用格式:jupyter notebook [选项]

  • --debug:将日志级别设置为logging.DEBUG(日志输出信息最多)。
    等价于可配置类选项[--Application.log_level=10]
  • --generate-config:生成默认的配置文件。
    等价于可配置类选项[--JupyterApp.generate_config=True]
  • -y:所有提示都自动回答yes
    等价于可配置类选项[--JupyterApp.answer_yes=True]
  • --no-browser:启动Jupyter Notebook不直接打开网页客户端。
    等价于可配置类选项 [--NotebookApp.open_browser=False]
  • --pylab已被禁用。 使用魔术命令%pylab%matplotlib在notebook中启用matplotlib支持。当前notebook已默认启用matplotlib支持。
    等价于可配置类选项[--NotebookApp.pylab=warn]
  • --no-mathjax:禁用MathJaxMathJax是一个支持渲染math/LaTeX公式的JavaScript库。该库比较大可能影响性能。禁用后,公式等将不会自动渲染。
    等价于可配置类选项[--NotebookApp.enable_mathjax=False]
  • --allow-root:允许notebook运行在root用户环境下。
    等价于可配置类选项[--NotebookApp.allow_root=True]
  • --autoreload:当源码发生变化时,自动重新加载网页客户端并重新导入Python包。
    等价于可配置类选项[--NotebookApp.autoreload=True]
  • --script:已废弃。
    等价于可配置类选项[--FileContentsManager.save_script=True]
  • --no-script:已废弃。
    等价于可配置类选项[--FileContentsManager.save_script=False]
  • --log-level=<Enum>:通过整数值和字符串指定日志级别。取值范围为[0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'],默认值为30
    等价于可配置类选项[--Application.log_level]
  • --config=<Unicode>:指定配置文件的绝对路径。默认值为''
    等价于可配置类选项[--JupyterApp.config_file]
  • --ip=<Unicode>: 指定Jupyter Notebook服务器的监听地址。默认值为'localhost'
    等价于可配置类选项[--NotebookApp.ip]
  • --port=<Int>: 指定Jupyter Notebook服务器的监听端口。即环境变量JUPYTER_PORT。默认值为8888
    等价于可配置类选项[--NotebookApp.port]
  • --port-retries=<Int>:指定Jupyter Notebook服务器的默认监听端口被占用时重试其他端口的次数。即环境变量JUPYTER_PORT_RETRIES。默认值为50
    等价于可配置类选项[--NotebookApp.port_retries]
  • --sock=<Unicode>:指定Jupyter Notebook服务器的监听的UNIX socket。默认值为''
    等价于可配置类选项[--NotebookApp.sock]
  • --sock-mode=<Unicode>:指定创建UNIX socket的权限模式。默认值为'0600'
    等价于可配置类选项[--NotebookApp.sock_mode]
  • --transport=<CaselessStrEnum>:指定通讯模式,取值范围为['tcp', 'ipc'],不区分大小写。默认值为'tcp'
    等价于可配置类选项[--KernelManager.transport]
  • --keyfile=<Unicode>: 指定使用SSL/TLS协议时私钥的绝对路径。默认为''
    等价于可配置类选项[--NotebookApp.keyfile]
  • --certfile=<Unicode>: 指定使用SSL/TLS协议时证书的绝对路径。默认为''
    等价于可配置类选项[--NotebookApp.certfile]
  • --client-ca=<Unicode>:指定使用SSL/TLS协议时客户端认证的CA证书的绝对路径。默认为''
    等价于可配置类选项[--NotebookApp.client_ca]
  • --notebook-dir=<Unicode>:指定Jupyter Notebook服务器的当前路径。默认为'',即命令行当前目录。
    等价于可配置类选项[--NotebookApp.notebook_dir]
  • --browser=<Unicode>:指定打开Jupyter Notebook网页客户端的浏览器。如果不指定将通过 webbrowser库选择默认浏览器。通过环境变量BROWSER可指定浏览器。默认为''
    等价于可配置类选项[–NotebookApp.browser]`
  • --pylab=<Unicode>已被禁用。 使用魔术命令%pylab%matplotlib在notebook中启用matplotlib支持。默认值为disabled
    等价于可配置类选项[--NotebookApp.pylab]
  • --gateway-url=<Unicode>:设置网关地址,Jupyter Notebook服务器将作为代理使用。即环境变量JUPYTER_GATEWAY_URL。默认值为None
    等价于可配置类选项[--GatewayClient.url]

Jupyter Notebook子命令选项

jupyter notebook list命令选项

jupyter notebook list --help命令结果。

使用格式:jupyter notebook list [选项]

  • --jsonlist:结果输出为JSON格式。
    等价于可配置类选项[--NbserverListApp.jsonlist=True]
  • --json:结果输出为JSON格式。每行输出一个文件。
    等价于可配置类选项[--NbserverListApp.json=True]
  • --log-level=<Enum>:通过整数值和字符串指定日志级别。取值范围为[0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'],默认值为30
    等价于可配置类选项[--Application.log_level]
  • --config=<Unicode>:指定配置文件的绝对路径。默认值为''
    等价于可配置类选项[--JupyterApp.config_file]

jupyter notebook stop命令选项

jupyter notebook stop --help命令结果。

使用格式:jupyter notebook stop [选项]

  • --debug:将日志级别设置为logging.DEBUG(日志输出信息最多)。
    等价于可配置类选项[--Application.log_level=10]
  • --generate-config:生成默认的配置文件。
    等价于可配置类选项[--JupyterApp.generate_config=True]
  • -y:所有提示都自动回答yes
    等价于可配置类选项[--JupyterApp.answer_yes=True]
  • --log-level=<Enum>:通过整数值和字符串指定日志级别。取值范围为[0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'],默认值为30
    等价于可配置类选项[--Application.log_level]
  • --config=<Unicode>:指定配置文件的绝对路径。默认值为''
    等价于可配置类选项[--JupyterApp.config_file]

jupyter notebook password命令选项

jupyter notebook password --help命令结果。

使用格式:jupyter notebook password [选项]

  • --debug:将日志级别设置为logging.DEBUG(日志输出信息最多)。
    等价于可配置类选项[--Application.log_level=10]
  • --generate-config:生成默认的配置文件。
    等价于可配置类选项[--JupyterApp.generate_config=True]
  • -y:所有提示都自动回答yes
    等价于可配置类选项[--JupyterApp.answer_yes=True]
  • --log-level=<Enum>:通过整数值和字符串指定日志级别。取值范围为[0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL'],默认值为30
    等价于可配置类选项[--Application.log_level]
  • --config=<Unicode>:指定配置文件的绝对路径。默认值为''
    等价于可配置类选项[--JupyterApp.config_file]

Jupyter Notebook可配置类命令选项

Application(SingletonConfigurable) options
------------------------------------------
--Application.log_datefmt=<Unicode>
    The date format used by logging formatters for %(asctime)s
    Default: '%Y-%m-%d %H:%M:%S'
--Application.log_format=<Unicode>
    The Logging format template
    Default: '[%(name)s]%(highlevel)s %(message)s'
--Application.log_level=<Enum>
    Set the log level by value or name.
    Choices: any of [0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL']
    Default: 30
--Application.show_config=<Bool>
    Instead of starting the Application, dump configuration to stdout
    Default: False
--Application.show_config_json=<Bool>
    Instead of starting the Application, dump configuration to stdout (as JSON)
    Default: False

JupyterApp(Application) options
-------------------------------
--JupyterApp.answer_yes=<Bool>
    Answer yes to any prompts.
    Default: False
--JupyterApp.config_file=<Unicode>
    Full path of a config file.
    Default: ''
--JupyterApp.config_file_name=<Unicode>
    Specify a config file to load.
    Default: ''
--JupyterApp.generate_config=<Bool>
    Generate default config file.
    Default: False
--JupyterApp.log_datefmt=<Unicode>
    The date format used by logging formatters for %(asctime)s
    Default: '%Y-%m-%d %H:%M:%S'
--JupyterApp.log_format=<Unicode>
    The Logging format template
    Default: '[%(name)s]%(highlevel)s %(message)s'
--JupyterApp.log_level=<Enum>
    Set the log level by value or name.
    Choices: any of [0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL']
    Default: 30
--JupyterApp.show_config=<Bool>
    Instead of starting the Application, dump configuration to stdout
    Default: False
--JupyterApp.show_config_json=<Bool>
    Instead of starting the Application, dump configuration to stdout (as JSON)
    Default: False

NotebookApp(JupyterApp) options
-------------------------------
--NotebookApp.allow_credentials=<Bool>
    Set the Access-Control-Allow-Credentials: true header
    Default: False
--NotebookApp.allow_origin=<Unicode>
    Set the Access-Control-Allow-Origin header
    Use '*' to allow any origin to access your server.
    Takes precedence over allow_origin_pat.
    Default: ''
--NotebookApp.allow_origin_pat=<Unicode>
    Use a regular expression for the Access-Control-Allow-Origin header
    Requests from an origin matching the expression will get replies with:
        Access-Control-Allow-Origin: origin
    where `origin` is the origin of the request.
    Ignored if allow_origin is set.
    Default: ''
--NotebookApp.allow_password_change=<Bool>
    Allow password to be changed at login for the notebook server.
    While loggin in with a token, the notebook server UI will give the
    opportunity to the user to enter a new password at the same time that will
    replace the token login mechanism.
    This can be set to false to prevent changing password from the UI/API.
    Default: True
--NotebookApp.allow_remote_access=<Bool>
    Allow requests where the Host header doesn't point to a local server
    By default, requests get a 403 forbidden response if the 'Host' header shows
    that the browser thinks it's on a non-local domain. Setting this option to
    True disables this check.
    This protects against 'DNS rebinding' attacks, where a remote web server
    serves you a page and then changes its DNS to send later requests to a local
    IP, bypassing same-origin checks.
    Local IP addresses (such as 127.0.0.1 and ::1) are allowed as local, along
    with hostnames configured in local_hostnames.
    Default: False
--NotebookApp.allow_root=<Bool>
    Whether to allow the user to run the notebook as root.
    Default: False
--NotebookApp.answer_yes=<Bool>
    Answer yes to any prompts.
    Default: False
--NotebookApp.authenticate_prometheus=<Bool>
    " Require authentication to access prometheus metrics.
    Default: True
--NotebookApp.autoreload=<Bool>
    Reload the webapp when changes are made to any Python src files.
    Default: False
--NotebookApp.base_project_url=<Unicode>
    DEPRECATED use base_url
    Default: '/'
--NotebookApp.base_url=<Unicode>
    The base URL for the notebook server.
    Leading and trailing slashes can be omitted, and will automatically be
    added.
    Default: '/'
--NotebookApp.browser=<Unicode>
    Specify what command to use to invoke a web browser when opening the
    notebook. If not specified, the default browser will be determined by the
    `webbrowser` standard library module, which allows setting of the BROWSER
    environment variable to override it.
    Default: ''
--NotebookApp.certfile=<Unicode>
    The full path to an SSL/TLS certificate file.
    Default: ''
--NotebookApp.client_ca=<Unicode>
    The full path to a certificate authority certificate for SSL/TLS client
    authentication.
    Default: ''
--NotebookApp.config_file=<Unicode>
    Full path of a config file.
    Default: ''
--NotebookApp.config_file_name=<Unicode>
    Specify a config file to load.
    Default: ''
--NotebookApp.config_manager_class=<Type>
    The config manager class to use
    Default: 'notebook.services.config.manager.ConfigManager'
--NotebookApp.contents_manager_class=<TypeFromClasses>
    The notebook manager class to use.
    Default: 'notebook.services.contents.largefilemanager.LargeFileManager'
--NotebookApp.cookie_options=<key-1>=<value-1>...
    Extra keyword arguments to pass to `set_secure_cookie`. See tornado's
    set_secure_cookie docs for details.
    Default: {}
--NotebookApp.cookie_secret=<Bytes>
    The random bytes used to secure cookies. By default this is a new random
    number every time you start the Notebook. Set it to a value in a config file
    to enable logins to persist across server sessions.
    Note: Cookie secrets should be kept private, do not share config files with
    cookie_secret stored in plaintext (you can read the value from a file).
    Default: b''
--NotebookApp.cookie_secret_file=<Unicode>
    The file where the cookie secret is stored.
    Default: ''
--NotebookApp.custom_display_url=<Unicode>
    Override URL shown to users.
    Replace actual URL, including protocol, address, port and base URL, with the
    given value when displaying URL to the users. Do not change the actual
    connection URL. If authentication token is enabled, the token is added to
    the custom URL automatically.
    This option is intended to be used when the URL to display to the user
    cannot be determined reliably by the Jupyter notebook server (proxified or
    containerized setups for example).
    Default: ''
--NotebookApp.default_url=<Unicode>
    The default URL to redirect to from `/`
    Default: '/tree'
--NotebookApp.disable_check_xsrf=<Bool>
    Disable cross-site-request-forgery protection
    Jupyter notebook 4.3.1 introduces protection from cross-site request
    forgeries, requiring API requests to either:
    - originate from pages served by this server (validated with XSRF cookie and
    token), or - authenticate with a token
    Some anonymous compute resources still desire the ability to run code,
    completely without authentication. These services can disable all
    authentication and security checks, with the full knowledge of what that
    implies.
    Default: False
--NotebookApp.enable_mathjax=<Bool>
    Whether to enable MathJax for typesetting math/TeX
    MathJax is the javascript library Jupyter uses to render math/LaTeX. It is
    very large, so you may want to disable it if you have a slow internet
    connection, or for offline use of the notebook.
    When disabled, equations etc. will appear as their untransformed TeX source.
    Default: True
--NotebookApp.extra_nbextensions_path=<list-item-1>...
    extra paths to look for Javascript notebook extensions
    Default: []
--NotebookApp.extra_services=<list-item-1>...
    handlers that should be loaded at higher priority than the default services
    Default: []
--NotebookApp.extra_static_paths=<list-item-1>...
    Extra paths to search for serving static files.
    This allows adding javascript/css to be available from the notebook server
    machine, or overriding individual files in the IPython
    Default: []
--NotebookApp.extra_template_paths=<list-item-1>...
    Extra paths to search for serving jinja templates.
    Can be used to override templates from notebook.templates.
    Default: []
--NotebookApp.file_to_run=<Unicode>
    Default: ''
--NotebookApp.generate_config=<Bool>
    Generate default config file.
    Default: False
--NotebookApp.get_secure_cookie_kwargs=<key-1>=<value-1>...
    Extra keyword arguments to pass to `get_secure_cookie`. See tornado's
    get_secure_cookie docs for details.
    Default: {}
--NotebookApp.ignore_minified_js=<Bool>
    Deprecated: Use minified JS file or not, mainly use during dev to avoid JS
    recompilation
    Default: False
--NotebookApp.iopub_data_rate_limit=<Float>
    (bytes/sec) Maximum rate at which stream output can be sent on iopub before
    they are limited.
    Default: 1000000
--NotebookApp.iopub_msg_rate_limit=<Float>
    (msgs/sec) Maximum rate at which messages can be sent on iopub before they
    are limited.
    Default: 1000
--NotebookApp.ip=<Unicode>
    The IP address the notebook server will listen on.
    Default: 'localhost'
--NotebookApp.jinja_environment_options=<key-1>=<value-1>...
    Supply extra arguments that will be passed to Jinja environment.
    Default: {}
--NotebookApp.jinja_template_vars=<key-1>=<value-1>...
    Extra variables to supply to jinja templates when rendering.
    Default: {}
--NotebookApp.kernel_manager_class=<Type>
    The kernel manager class to use.
    Default: 'notebook.services.kernels.kernelmanager.MappingKernelManager'
--NotebookApp.kernel_spec_manager_class=<Type>
    The kernel spec manager class to use. Should be a subclass of
    `jupyter_client.kernelspec.KernelSpecManager`.
    The Api of KernelSpecManager is provisional and might change without warning
    between this version of Jupyter and the next stable one.
    Default: 'jupyter_client.kernelspec.KernelSpecManager'
--NotebookApp.keyfile=<Unicode>
    The full path to a private key file for usage with SSL/TLS.
    Default: ''
--NotebookApp.local_hostnames=<list-item-1>...
    Hostnames to allow as local when allow_remote_access is False.
    Local IP addresses (such as 127.0.0.1 and ::1) are automatically accepted as
    local as well.
    Default: ['localhost']
--NotebookApp.log_datefmt=<Unicode>
    The date format used by logging formatters for %(asctime)s
    Default: '%Y-%m-%d %H:%M:%S'
--NotebookApp.log_format=<Unicode>
    The Logging format template
    Default: '[%(name)s]%(highlevel)s %(message)s'
--NotebookApp.log_json=<Bool>
    Set to True to enable JSON formatted logs. Run "pip install notebook[json-
    logging]" to install the required dependent packages. Can also be set using
    the environment variable JUPYTER_ENABLE_JSON_LOGGING=true.
    Default: False
--NotebookApp.log_level=<Enum>
    Set the log level by value or name.
    Choices: any of [0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL']
    Default: 30
--NotebookApp.login_handler_class=<Type>
    The login handler class to use.
    Default: 'notebook.auth.login.LoginHandler'
--NotebookApp.logout_handler_class=<Type>
    The logout handler class to use.
    Default: 'notebook.auth.logout.LogoutHandler'
--NotebookApp.mathjax_config=<Unicode>
    The MathJax.js configuration file that is to be used.
    Default: 'TeX-AMS-MML_HTMLorMML-full,Safe'
--NotebookApp.mathjax_url=<Unicode>
    A custom url for MathJax.js. Should be in the form of a case-sensitive url
    to MathJax, for example:  /static/components/MathJax/MathJax.js
    Default: ''
--NotebookApp.max_body_size=<Int>
    Sets the maximum allowed size of the client request body, specified in the
    Content-Length request header field. If the size in a request exceeds the
    configured value, a malformed HTTP message is returned to the client.
    Note: max_body_size is applied even in streaming mode.
    Default: 536870912
--NotebookApp.max_buffer_size=<Int>
    Gets or sets the maximum amount of memory, in bytes, that is allocated for
    use by the buffer manager.
    Default: 536870912
--NotebookApp.min_open_files_limit=<Int>
    Gets or sets a lower bound on the open file handles process resource limit.
    This may need to be increased if you run into an OSError: [Errno 24] Too
    many open files. This is not applicable when running on Windows.
    Default: 0
--NotebookApp.nbserver_extensions=<key-1>=<value-1>...
    Dict of Python modules to load as notebook server extensions.Entry values
    can be used to enable and disable the loading ofthe extensions. The
    extensions will be loaded in alphabetical order.
    Default: {}
--NotebookApp.notebook_dir=<Unicode>
    The directory to use for notebooks and kernels.
    Default: ''
--NotebookApp.open_browser=<Bool>
    Whether to open in a browser after starting. The specific browser used is
    platform dependent and determined by the python standard library
    `webbrowser` module, unless it is overridden using the --browser
    (NotebookApp.browser) configuration option.
    Default: True
--NotebookApp.password=<Unicode>
    Hashed password to use for web authentication.
    To generate, type in a python/IPython shell:
      from notebook.auth import passwd; passwd()
    The string should be of the form type:salt:hashed-password.
    Default: ''
--NotebookApp.password_required=<Bool>
    Forces users to use a password for the Notebook server. This is useful in a
    multi user environment, for instance when everybody in the LAN can access
    each other's machine through ssh.
    In such a case, serving the notebook server on localhost is not secure since
    any user can connect to the notebook server via ssh.
    Default: False
--NotebookApp.port=<Int>
    The port the notebook server will listen on (env: JUPYTER_PORT).
    Default: 8888
--NotebookApp.port_retries=<Int>
    The number of additional ports to try if the specified port is not available
    (env: JUPYTER_PORT_RETRIES).
    Default: 50
--NotebookApp.pylab=<Unicode>
    DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib.
    Default: 'disabled'
--NotebookApp.quit_button=<Bool>
    If True, display a button in the dashboard to quit (shutdown the notebook
    server).
    Default: True
--NotebookApp.rate_limit_window=<Float>
    (sec) Time window used to check the message and data rate limits.
    Default: 3
--NotebookApp.reraise_server_extension_failures=<Bool>
    Reraise exceptions encountered loading server extensions?
    Default: False
--NotebookApp.server_extensions=<list-item-1>...
    DEPRECATED use the nbserver_extensions dict instead
    Default: []
--NotebookApp.session_manager_class=<Type>
    The session manager class to use.
    Default: 'notebook.services.sessions.sessionmanager.SessionManager'
--NotebookApp.show_config=<Bool>
    Instead of starting the Application, dump configuration to stdout
    Default: False
--NotebookApp.show_config_json=<Bool>
    Instead of starting the Application, dump configuration to stdout (as JSON)
    Default: False
--NotebookApp.shutdown_no_activity_timeout=<Int>
    Shut down the server after N seconds with no kernels or terminals running
    and no activity. This can be used together with culling idle kernels
    (MappingKernelManager.cull_idle_timeout) to shutdown the notebook server
    when it's not in use. This is not precisely timed: it may shut down up to a
    minute later. 0 (the default) disables this automatic shutdown.
    Default: 0
--NotebookApp.sock=<Unicode>
    The UNIX socket the notebook server will listen on.
    Default: ''
--NotebookApp.sock_mode=<Unicode>
    The permissions mode for UNIX socket creation (default: 0600).
    Default: '0600'
--NotebookApp.ssl_options=<key-1>=<value-1>...
    Supply SSL options for the tornado HTTPServer. See the tornado docs for
    details.
    Default: {}
--NotebookApp.terminado_settings=<key-1>=<value-1>...
    Supply overrides for terminado. Currently only supports "shell_command". On
    Unix, if "shell_command" is not provided, a non-login shell is launched by
    default when the notebook server is connected to a terminal, a login shell
    otherwise.
    Default: {}
--NotebookApp.terminals_enabled=<Bool>
    Set to False to disable terminals.
    This does *not* make the notebook server more secure by itself. Anything the
    user can in a terminal, they can also do in a notebook.
    Terminals may also be automatically disabled if the terminado package is not
    available.
    Default: True
--NotebookApp.token=<Unicode>
    Token used for authenticating first-time connections to the server.
    The token can be read from the file referenced by JUPYTER_TOKEN_FILE or set
    directly with the JUPYTER_TOKEN environment variable.
    When no password is enabled, the default is to generate a new, random token.
    Setting to an empty string disables authentication altogether, which is NOT
    RECOMMENDED.
    Default: '<generated>'
--NotebookApp.tornado_settings=<key-1>=<value-1>...
    Supply overrides for the tornado.web.Application that the Jupyter notebook
    uses.
    Default: {}
--NotebookApp.trust_xheaders=<Bool>
    Whether to trust or not X-Scheme/X-Forwarded-Proto and X-Real-
    Ip/X-Forwarded-For headerssent by the upstream reverse proxy. Necessary if
    the proxy handles SSL
    Default: False
--NotebookApp.use_redirect_file=<Bool>
    Disable launching browser by redirect file
    For versions of notebook > 5.7.2, a security feature measure was added that
    prevented the authentication token used to launch the browser from being
    visible. This feature makes it difficult for other users on a multi-user
    system from running code in your Jupyter session as you.
    However, some environments (like Windows Subsystem for Linux (WSL) and
    Chromebooks), launching a browser using a redirect file can lead the browser
    failing to load. This is because of the difference in file structures/paths
    between the runtime and the browser.
    Disabling this setting to False will disable this behavior, allowing the
    browser to launch by using a URL and visible token (as before).
    Default: True
--NotebookApp.webapp_settings=<key-1>=<value-1>...
    DEPRECATED, use tornado_settings
    Default: {}
--NotebookApp.webbrowser_open_new=<Int>
    Specify Where to open the notebook on startup. This is the `new` argument
    passed to the standard library method `webbrowser.open`. The behaviour is
    not guaranteed, but depends on browser support. Valid values are:
     - 2 opens a new tab,
     - 1 opens a new window,
     - 0 opens in an existing window.
    See the `webbrowser.open` documentation for details.
    Default: 2
--NotebookApp.websocket_compression_options=<Any>
    Set the tornado compression options for websocket connections.
    This value will be returned from
    :meth:`WebSocketHandler.get_compression_options`. None (default) will
    disable compression. A dict (even an empty one) will enable compression.
    See the tornado docs for WebSocketHandler.get_compression_options for
    details.
    Default: None
--NotebookApp.websocket_url=<Unicode>
    The base URL for websockets, if it differs from the HTTP server (hint: it
    almost certainly doesn't).
    Should be in the form of an HTTP origin: ws[s]://hostname[:port]
    Default: ''

ConnectionFileMixin(LoggingConfigurable) options
------------------------------------------------
--ConnectionFileMixin.connection_file=<Unicode>
    JSON file in which to store connection info [default: kernel-<pid>.json]
    This file will contain the IP, ports, and authentication key needed to
    connect clients to this kernel. By default, this file will be created in the
    security dir of the current profile, but can be specified by absolute path.
    Default: ''
--ConnectionFileMixin.control_port=<Int>
    set the control (ROUTER) port [default: random]
    Default: 0
--ConnectionFileMixin.hb_port=<Int>
    set the heartbeat port [default: random]
    Default: 0
--ConnectionFileMixin.iopub_port=<Int>
    set the iopub (PUB) port [default: random]
    Default: 0
--ConnectionFileMixin.ip=<Unicode>
    Set the kernel's IP address [default localhost]. If the IP address is
    something other than localhost, then Consoles on other machines will be able
    to connect to the Kernel, so be careful!
    Default: ''
--ConnectionFileMixin.shell_port=<Int>
    set the shell (ROUTER) port [default: random]
    Default: 0
--ConnectionFileMixin.stdin_port=<Int>
    set the stdin (ROUTER) port [default: random]
    Default: 0
--ConnectionFileMixin.transport=<CaselessStrEnum>
    Choices: any of ['tcp', 'ipc'] (case-insensitive)
    Default: 'tcp'

KernelManager(ConnectionFileMixin) options
------------------------------------------
--KernelManager.autorestart=<Bool>
    Should we autorestart the kernel if it dies.
    Default: True
--KernelManager.connection_file=<Unicode>
    JSON file in which to store connection info [default: kernel-<pid>.json]
    This file will contain the IP, ports, and authentication key needed to
    connect clients to this kernel. By default, this file will be created in the
    security dir of the current profile, but can be specified by absolute path.
    Default: ''
--KernelManager.control_port=<Int>
    set the control (ROUTER) port [default: random]
    Default: 0
--KernelManager.hb_port=<Int>
    set the heartbeat port [default: random]
    Default: 0
--KernelManager.iopub_port=<Int>
    set the iopub (PUB) port [default: random]
    Default: 0
--KernelManager.ip=<Unicode>
    Set the kernel's IP address [default localhost]. If the IP address is
    something other than localhost, then Consoles on other machines will be able
    to connect to the Kernel, so be careful!
    Default: ''
--KernelManager.kernel_cmd=<list-item-1>...
    DEPRECATED: Use kernel_name instead.
    The Popen Command to launch the kernel. Override this if you have a custom
    kernel. If kernel_cmd is specified in a configuration file, Jupyter does not
    pass any arguments to the kernel, because it cannot make any assumptions
    about the arguments that the kernel understands. In particular, this means
    that the kernel does not receive the option --debug if it given on the
    Jupyter command line.
    Default: []
--KernelManager.shell_port=<Int>
    set the shell (ROUTER) port [default: random]
    Default: 0
--KernelManager.shutdown_wait_time=<Float>
    Time to wait for a kernel to terminate before killing it, in seconds. When a
    shutdown request is initiated, the kernel will be immediately send and
    interrupt (SIGINT), followedby a shutdown_request message, after 1/2 of
    `shutdown_wait_time`it will be sent a terminate (SIGTERM) request, and
    finally at the end of `shutdown_wait_time` will be killed (SIGKILL).
    terminate and kill may be equivalent on windows.
    Default: 5.0
--KernelManager.stdin_port=<Int>
    set the stdin (ROUTER) port [default: random]
    Default: 0
--KernelManager.transport=<CaselessStrEnum>
    Choices: any of ['tcp', 'ipc'] (case-insensitive)
    Default: 'tcp'

Session(Configurable) options
-----------------------------
--Session.buffer_threshold=<Int>
    Threshold (in bytes) beyond which an object's buffer should be extracted to
    avoid pickling.
    Default: 1024
--Session.check_pid=<Bool>
    Whether to check PID to protect against calls after fork.
    This check can be disabled if fork-safety is handled elsewhere.
    Default: True
--Session.copy_threshold=<Int>
    Threshold (in bytes) beyond which a buffer should be sent without copying.
    Default: 65536
--Session.debug=<Bool>
    Debug output in the Session
    Default: False
--Session.digest_history_size=<Int>
    The maximum number of digests to remember.
    The digest history will be culled when it exceeds this value.
    Default: 65536
--Session.item_threshold=<Int>
    The maximum number of items for a container to be introspected for custom
    serialization. Containers larger than this are pickled outright.
    Default: 64
--Session.key=<CBytes>
    execution key, for signing messages.
    Default: b''
--Session.keyfile=<Unicode>
    path to file containing execution key.
    Default: ''
--Session.metadata=<key-1>=<value-1>...
    Metadata dictionary, which serves as the default top-level metadata dict for
    each message.
    Default: {}
--Session.packer=<DottedObjectName>
    The name of the packer for serializing messages. Should be one of 'json',
    'pickle', or an import name for a custom callable serializer.
    Default: 'json'
--Session.session=<CUnicode>
    The UUID identifying this session.
    Default: ''
--Session.signature_scheme=<Unicode>
    The digest scheme used to construct the message signatures. Must have the
    form 'hmac-HASH'.
    Default: 'hmac-sha256'
--Session.unpacker=<DottedObjectName>
    The name of the unpacker for unserializing messages. Only used with custom
    functions for `packer`.
    Default: 'json'
--Session.username=<Unicode>
    Username for the Session. Default is your system username.
    Default: 'username'

MultiKernelManager(LoggingConfigurable) options
-----------------------------------------------
--MultiKernelManager.default_kernel_name=<Unicode>
    The name of the default kernel to start
    Default: 'python3'
--MultiKernelManager.kernel_manager_class=<DottedObjectName>
    The kernel manager class.  This is configurable to allow subclassing of the
    KernelManager for customized behavior.
    Default: 'jupyter_client.ioloop.IOLoopKernelManager'
--MultiKernelManager.shared_context=<Bool>
    Share a single zmq.Context to talk to all my kernels
    Default: True

MappingKernelManager(MultiKernelManager) options
------------------------------------------------
--MappingKernelManager.allowed_message_types=<list-item-1>...
    White list of allowed kernel message types. When the list is empty, all
    message types are allowed.
    Default: []
--MappingKernelManager.buffer_offline_messages=<Bool>
    Whether messages from kernels whose frontends have disconnected should be
    buffered in-memory. When True (default), messages are buffered and replayed
    on reconnect, avoiding lost messages due to interrupted connectivity.
    Disable if long-running kernels will produce too much output while no
    frontends are connected.
    Default: True
--MappingKernelManager.cull_busy=<Bool>
    Whether to consider culling kernels which are busy. Only effective if
    cull_idle_timeout > 0.
    Default: False
--MappingKernelManager.cull_connected=<Bool>
    Whether to consider culling kernels which have one or more connections. Only
    effective if cull_idle_timeout > 0.
    Default: False
--MappingKernelManager.cull_idle_timeout=<Int>
    Timeout (in seconds) after which a kernel is considered idle and ready to be
    culled. Values of 0 or lower disable culling. Very short timeouts may result
    in kernels being culled for users with poor network connections.
    Default: 0
--MappingKernelManager.cull_interval=<Int>
    The interval (in seconds) on which to check for idle kernels exceeding the
    cull timeout value.
    Default: 300
--MappingKernelManager.default_kernel_name=<Unicode>
    The name of the default kernel to start
    Default: 'python3'
--MappingKernelManager.kernel_info_timeout=<Float>
    Timeout for giving up on a kernel (in seconds). On starting and restarting
    kernels, we check whether the kernel is running and responsive by sending
    kernel_info_requests. This sets the timeout in seconds for how long the
    kernel can take before being presumed dead. This affects the
    MappingKernelManager (which handles kernel restarts) and the
    ZMQChannelsHandler (which handles the startup).
    Default: 60
--MappingKernelManager.kernel_manager_class=<DottedObjectName>
    The kernel manager class.  This is configurable to allow subclassing of the
    KernelManager for customized behavior.
    Default: 'jupyter_client.ioloop.IOLoopKernelManager'
--MappingKernelManager.root_dir=<Unicode>
    Default: ''
--MappingKernelManager.shared_context=<Bool>
    Share a single zmq.Context to talk to all my kernels
    Default: True

KernelSpecManager(LoggingConfigurable) options
----------------------------------------------
--KernelSpecManager.ensure_native_kernel=<Bool>
    If there is no Python kernelspec registered and the IPython kernel is
    available, ensure it is added to the spec list.
    Default: True
--KernelSpecManager.kernel_spec_class=<Type>
    The kernel spec class.  This is configurable to allow subclassing of the
    KernelSpecManager for customized behavior.
    Default: 'jupyter_client.kernelspec.KernelSpec'
--KernelSpecManager.whitelist=<set-item-1>...
    Whitelist of allowed kernel names.
    By default, all installed kernels are allowed.
    Default: set()

ContentsManager(LoggingConfigurable) options
--------------------------------------------
--ContentsManager.allow_hidden=<Bool>
    Allow access to hidden files
    Default: False
--ContentsManager.checkpoints=<Instance>
    Default: None
--ContentsManager.checkpoints_class=<Type>
    Default: 'notebook.services.contents.checkpoints.Checkpoints'
--ContentsManager.checkpoints_kwargs=<key-1>=<value-1>...
    Default: {}
--ContentsManager.files_handler_class=<Type>
    handler class to use when serving raw file requests.
    Default is a fallback that talks to the ContentsManager API, which may be
    inefficient, especially for large files.
    Local files-based ContentsManagers can use a StaticFileHandler subclass,
    which will be much more efficient.
    Access to these files should be Authenticated.
    Default: 'notebook.files.handlers.FilesHandler'
--ContentsManager.files_handler_params=<key-1>=<value-1>...
    Extra parameters to pass to files_handler_class.
    For example, StaticFileHandlers generally expect a `path` argument
    specifying the root directory from which to serve files.
    Default: {}
--ContentsManager.hide_globs=<list-item-1>...
    Glob patterns to hide in file and directory listings.
    Default: ['__pycache__', '*.pyc', '*.pyo', '.DS_Store', '*.so', '*.dyl...
--ContentsManager.pre_save_hook=<Any>
    Python callable or importstring thereof
    To be called on a contents model prior to save.
    This can be used to process the structure, such as removing notebook outputs
    or other side effects that should not be saved.
    It will be called as (all arguments passed by keyword)::
        hook(path=path, model=model, contents_manager=self)
    - model: the model to be saved. Includes file contents.
      Modifying this dict will affect the file that is stored.
    - path: the API path of the save destination
    - contents_manager: this ContentsManager instance
    Default: None
--ContentsManager.root_dir=<Unicode>
    Default: '/'
--ContentsManager.untitled_directory=<Unicode>
    The base name used when creating untitled directories.
    Default: 'Untitled Folder'
--ContentsManager.untitled_file=<Unicode>
    The base name used when creating untitled files.
    Default: 'untitled'
--ContentsManager.untitled_notebook=<Unicode>
    The base name used when creating untitled notebooks.
    Default: 'Untitled'

FileManagerMixin(Configurable) options
--------------------------------------
--FileManagerMixin.use_atomic_writing=<Bool>
    By default notebooks are saved on disk on a temporary file and then if
    successfully written, it replaces the old ones. This procedure, namely
    'atomic_writing', causes some bugs on file system without operation order
    enforcement (like some networked fs). If set to False, the new notebook is
    written directly on the old one which could fail (eg: full filesystem or
    quota )
    Default: True

FileContentsManager(FileManagerMixin, ContentsManager) options
--------------------------------------------------------------
--FileContentsManager.allow_hidden=<Bool>
    Allow access to hidden files
    Default: False
--FileContentsManager.checkpoints=<Instance>
    Default: None
--FileContentsManager.checkpoints_class=<Type>
    Default: 'notebook.services.contents.checkpoints.Checkpoints'
--FileContentsManager.checkpoints_kwargs=<key-1>=<value-1>...
    Default: {}
--FileContentsManager.delete_to_trash=<Bool>
    If True (default), deleting files will send them to the platform's
    trash/recycle bin, where they can be recovered. If False, deleting files
    really deletes them.
    Default: True
--FileContentsManager.files_handler_class=<Type>
    handler class to use when serving raw file requests.
    Default is a fallback that talks to the ContentsManager API, which may be
    inefficient, especially for large files.
    Local files-based ContentsManagers can use a StaticFileHandler subclass,
    which will be much more efficient.
    Access to these files should be Authenticated.
    Default: 'notebook.files.handlers.FilesHandler'
--FileContentsManager.files_handler_params=<key-1>=<value-1>...
    Extra parameters to pass to files_handler_class.
    For example, StaticFileHandlers generally expect a `path` argument
    specifying the root directory from which to serve files.
    Default: {}
--FileContentsManager.hide_globs=<list-item-1>...
    Glob patterns to hide in file and directory listings.
    Default: ['__pycache__', '*.pyc', '*.pyo', '.DS_Store', '*.so', '*.dyl...
--FileContentsManager.post_save_hook=<Any>
    Python callable or importstring thereof
    to be called on the path of a file just saved.
    This can be used to process the file on disk, such as converting the
    notebook to a script or HTML via nbconvert.
    It will be called as (all arguments passed by keyword)::
        hook(os_path=os_path, model=model, contents_manager=instance)
    - path: the filesystem path to the file just written - model: the model
    representing the file - contents_manager: this ContentsManager instance
    Default: None
--FileContentsManager.pre_save_hook=<Any>
    Python callable or importstring thereof
    To be called on a contents model prior to save.
    This can be used to process the structure, such as removing notebook outputs
    or other side effects that should not be saved.
    It will be called as (all arguments passed by keyword)::
        hook(path=path, model=model, contents_manager=self)
    - model: the model to be saved. Includes file contents.
      Modifying this dict will affect the file that is stored.
    - path: the API path of the save destination
    - contents_manager: this ContentsManager instance
    Default: None
--FileContentsManager.root_dir=<Unicode>
    Default: ''
--FileContentsManager.save_script=<Bool>
    DEPRECATED, use post_save_hook. Will be removed in Notebook 5.0
    Default: False
--FileContentsManager.untitled_directory=<Unicode>
    The base name used when creating untitled directories.
    Default: 'Untitled Folder'
--FileContentsManager.untitled_file=<Unicode>
    The base name used when creating untitled files.
    Default: 'untitled'
--FileContentsManager.untitled_notebook=<Unicode>
    The base name used when creating untitled notebooks.
    Default: 'Untitled'
--FileContentsManager.use_atomic_writing=<Bool>
    By default notebooks are saved on disk on a temporary file and then if
    successfully written, it replaces the old ones. This procedure, namely
    'atomic_writing', causes some bugs on file system without operation order
    enforcement (like some networked fs). If set to False, the new notebook is
    written directly on the old one which could fail (eg: full filesystem or
    quota )
    Default: True

NotebookNotary(LoggingConfigurable) options
-------------------------------------------
--NotebookNotary.algorithm=<Enum>
    The hashing algorithm used to sign notebooks.
    Choices: any of ['blake2b', 'md5', 'sha3_256', 'sha256', 'sha3_224', 'sha3_512', 'sha384', 'sha512', 'sha1', 'sha224', 'sha3_384', 'blake2s']
    Default: 'sha256'
--NotebookNotary.data_dir=<Unicode>
    The storage directory for notary secret and database.
    Default: ''
--NotebookNotary.db_file=<Unicode>
    The sqlite file in which to store notebook signatures. By default, this will
    be in your Jupyter data directory. You can set it to ':memory:' to disable
    sqlite writing to the filesystem.
    Default: ''
--NotebookNotary.secret=<Bytes>
    The secret key with which notebooks are signed.
    Default: b''
--NotebookNotary.secret_file=<Unicode>
    The file where the secret key is stored.
    Default: ''
--NotebookNotary.store_factory=<Callable>
    A callable returning the storage backend for notebook signatures. The
    default uses an SQLite database.
    Default: traitlets.Undefined

AsyncMultiKernelManager(MultiKernelManager) options
---------------------------------------------------
--AsyncMultiKernelManager.default_kernel_name=<Unicode>
    The name of the default kernel to start
    Default: 'python3'
--AsyncMultiKernelManager.kernel_manager_class=<DottedObjectName>
    The kernel manager class.  This is configurable to allow subclassing of the
    AsyncKernelManager for customized behavior.
    Default: 'jupyter_client.ioloop.AsyncIOLoopKernelManager'
--AsyncMultiKernelManager.shared_context=<Bool>
    Share a single zmq.Context to talk to all my kernels
    Default: True

AsyncMappingKernelManager(MappingKernelManager, AsyncMultiKernelManager) options
--------------------------------------------------------------------------------
--AsyncMappingKernelManager.allowed_message_types=<list-item-1>...
    White list of allowed kernel message types. When the list is empty, all
    message types are allowed.
    Default: []
--AsyncMappingKernelManager.buffer_offline_messages=<Bool>
    Whether messages from kernels whose frontends have disconnected should be
    buffered in-memory. When True (default), messages are buffered and replayed
    on reconnect, avoiding lost messages due to interrupted connectivity.
    Disable if long-running kernels will produce too much output while no
    frontends are connected.
    Default: True
--AsyncMappingKernelManager.cull_busy=<Bool>
    Whether to consider culling kernels which are busy. Only effective if
    cull_idle_timeout > 0.
    Default: False
--AsyncMappingKernelManager.cull_connected=<Bool>
    Whether to consider culling kernels which have one or more connections. Only
    effective if cull_idle_timeout > 0.
    Default: False
--AsyncMappingKernelManager.cull_idle_timeout=<Int>
    Timeout (in seconds) after which a kernel is considered idle and ready to be
    culled. Values of 0 or lower disable culling. Very short timeouts may result
    in kernels being culled for users with poor network connections.
    Default: 0
--AsyncMappingKernelManager.cull_interval=<Int>
    The interval (in seconds) on which to check for idle kernels exceeding the
    cull timeout value.
    Default: 300
--AsyncMappingKernelManager.default_kernel_name=<Unicode>
    The name of the default kernel to start
    Default: 'python3'
--AsyncMappingKernelManager.kernel_info_timeout=<Float>
    Timeout for giving up on a kernel (in seconds). On starting and restarting
    kernels, we check whether the kernel is running and responsive by sending
    kernel_info_requests. This sets the timeout in seconds for how long the
    kernel can take before being presumed dead. This affects the
    MappingKernelManager (which handles kernel restarts) and the
    ZMQChannelsHandler (which handles the startup).
    Default: 60
--AsyncMappingKernelManager.kernel_manager_class=<DottedObjectName>
    The kernel manager class.  This is configurable to allow subclassing of the
    AsyncKernelManager for customized behavior.
    Default: 'jupyter_client.ioloop.AsyncIOLoopKernelManager'
--AsyncMappingKernelManager.root_dir=<Unicode>
    Default: ''
--AsyncMappingKernelManager.shared_context=<Bool>
    Share a single zmq.Context to talk to all my kernels
    Default: True

GatewayKernelManager(AsyncMappingKernelManager) options
-------------------------------------------------------
--GatewayKernelManager.allowed_message_types=<list-item-1>...
    White list of allowed kernel message types. When the list is empty, all
    message types are allowed.
    Default: []
--GatewayKernelManager.buffer_offline_messages=<Bool>
    Whether messages from kernels whose frontends have disconnected should be
    buffered in-memory. When True (default), messages are buffered and replayed
    on reconnect, avoiding lost messages due to interrupted connectivity.
    Disable if long-running kernels will produce too much output while no
    frontends are connected.
    Default: True
--GatewayKernelManager.cull_busy=<Bool>
    Whether to consider culling kernels which are busy. Only effective if
    cull_idle_timeout > 0.
    Default: False
--GatewayKernelManager.cull_connected=<Bool>
    Whether to consider culling kernels which have one or more connections. Only
    effective if cull_idle_timeout > 0.
    Default: False
--GatewayKernelManager.cull_idle_timeout=<Int>
    Timeout (in seconds) after which a kernel is considered idle and ready to be
    culled. Values of 0 or lower disable culling. Very short timeouts may result
    in kernels being culled for users with poor network connections.
    Default: 0
--GatewayKernelManager.cull_interval=<Int>
    The interval (in seconds) on which to check for idle kernels exceeding the
    cull timeout value.
    Default: 300
--GatewayKernelManager.default_kernel_name=<Unicode>
    The name of the default kernel to start
    Default: 'python3'
--GatewayKernelManager.kernel_info_timeout=<Float>
    Timeout for giving up on a kernel (in seconds). On starting and restarting
    kernels, we check whether the kernel is running and responsive by sending
    kernel_info_requests. This sets the timeout in seconds for how long the
    kernel can take before being presumed dead. This affects the
    MappingKernelManager (which handles kernel restarts) and the
    ZMQChannelsHandler (which handles the startup).
    Default: 60
--GatewayKernelManager.kernel_manager_class=<DottedObjectName>
    The kernel manager class.  This is configurable to allow subclassing of the
    AsyncKernelManager for customized behavior.
    Default: 'jupyter_client.ioloop.AsyncIOLoopKernelManager'
--GatewayKernelManager.root_dir=<Unicode>
    Default: ''
--GatewayKernelManager.shared_context=<Bool>
    Share a single zmq.Context to talk to all my kernels
    Default: True

GatewayKernelSpecManager(KernelSpecManager) options
---------------------------------------------------
--GatewayKernelSpecManager.ensure_native_kernel=<Bool>
    If there is no Python kernelspec registered and the IPython kernel is
    available, ensure it is added to the spec list.
    Default: True
--GatewayKernelSpecManager.kernel_spec_class=<Type>
    The kernel spec class.  This is configurable to allow subclassing of the
    KernelSpecManager for customized behavior.
    Default: 'jupyter_client.kernelspec.KernelSpec'
--GatewayKernelSpecManager.whitelist=<set-item-1>...
    Whitelist of allowed kernel names.
    By default, all installed kernels are allowed.
    Default: set()

GatewayClient(SingletonConfigurable) options
--------------------------------------------
--GatewayClient.auth_token=<Unicode>
    The authorization token used in the HTTP headers.
    (JUPYTER_GATEWAY_AUTH_TOKEN env var)
    Default: None
--GatewayClient.ca_certs=<Unicode>
    The filename of CA certificates or None to use defaults.
    (JUPYTER_GATEWAY_CA_CERTS env var)
    Default: None
--GatewayClient.client_cert=<Unicode>
    The filename for client SSL certificate, if any.
    (JUPYTER_GATEWAY_CLIENT_CERT env var)
    Default: None
--GatewayClient.client_key=<Unicode>
    The filename for client SSL key, if any.  (JUPYTER_GATEWAY_CLIENT_KEY env
    var)
    Default: None
--GatewayClient.connect_timeout=<Float>
    The time allowed for HTTP connection establishment with the Gateway server.
    (JUPYTER_GATEWAY_CONNECT_TIMEOUT env var)
    Default: 40.0
--GatewayClient.env_whitelist=<Unicode>
    A comma-separated list of environment variable names that will be included,
    along with their values, in the kernel startup request.  The corresponding
    `env_whitelist` configuration value must also be set on the Gateway server -
    since that configuration value indicates which environmental values to make
    available to the kernel. (JUPYTER_GATEWAY_ENV_WHITELIST env var)
    Default: ''
--GatewayClient.gateway_retry_interval=<Float>
    The time allowed for HTTP reconnection with the Gateway server for the first
    time. Next will be JUPYTER_GATEWAY_RETRY_INTERVAL multiplied by two in
    factor of numbers of retries but less than
    JUPYTER_GATEWAY_RETRY_INTERVAL_MAX. (JUPYTER_GATEWAY_RETRY_INTERVAL env var)
    Default: 1.0
--GatewayClient.gateway_retry_interval_max=<Float>
    The maximum time allowed for HTTP reconnection retry with the Gateway
    server. (JUPYTER_GATEWAY_RETRY_INTERVAL_MAX env var)
    Default: 30.0
--GatewayClient.gateway_retry_max=<Int>
    The maximum retries allowed for HTTP reconnection with the Gateway server.
    (JUPYTER_GATEWAY_RETRY_MAX env var)
    Default: 5
--GatewayClient.headers=<Unicode>
    Additional HTTP headers to pass on the request.  This value will be
    converted to a dict. (JUPYTER_GATEWAY_HEADERS env var)
    Default: '{}'
--GatewayClient.http_pwd=<Unicode>
    The password for HTTP authentication.  (JUPYTER_GATEWAY_HTTP_PWD env var)
    Default: None
--GatewayClient.http_user=<Unicode>
    The username for HTTP authentication. (JUPYTER_GATEWAY_HTTP_USER env var)
    Default: None
--GatewayClient.kernels_endpoint=<Unicode>
    The gateway API endpoint for accessing kernel resources
    (JUPYTER_GATEWAY_KERNELS_ENDPOINT env var)
    Default: '/api/kernels'
--GatewayClient.kernelspecs_endpoint=<Unicode>
    The gateway API endpoint for accessing kernelspecs
    (JUPYTER_GATEWAY_KERNELSPECS_ENDPOINT env var)
    Default: '/api/kernelspecs'
--GatewayClient.kernelspecs_resource_endpoint=<Unicode>
    The gateway endpoint for accessing kernelspecs resources
    (JUPYTER_GATEWAY_KERNELSPECS_RESOURCE_ENDPOINT env var)
    Default: '/kernelspecs'
--GatewayClient.request_timeout=<Float>
    The time allowed for HTTP request completion.
    (JUPYTER_GATEWAY_REQUEST_TIMEOUT env var)
    Default: 40.0
--GatewayClient.url=<Unicode>
    The url of the Kernel or Enterprise Gateway server where kernel
    specifications are defined and kernel management takes place. If defined,
    this Notebook server acts as a proxy for all kernel management and kernel
    specification retrieval.  (JUPYTER_GATEWAY_URL env var)
    Default: None
--GatewayClient.validate_cert=<Bool>
    For HTTPS requests, determines if server's certificate should be validated
    or not. (JUPYTER_GATEWAY_VALIDATE_CERT env var)
    Default: True
--GatewayClient.ws_url=<Unicode>
    The websocket url of the Kernel or Enterprise Gateway server.  If not
    provided, this value will correspond to the value of the Gateway url with
    'ws' in place of 'http'.  (JUPYTER_GATEWAY_WS_URL env var)
    Default: None

TerminalManager(LoggingConfigurable, NamedTermManager) options
--------------------------------------------------------------
--TerminalManager.cull_inactive_timeout=<Int>
    Timeout (in seconds) in which a terminal has been inactive and ready to be
    culled. Values of 0 or lower disable culling.
    Default: 0
--TerminalManager.cull_interval=<Int>
    The interval (in seconds) on which to check for terminals exceeding the
    inactive timeout value.
    Default: 300
上一篇:JS函数&DOM


下一篇:SqlParameter 2