JUPYTERHUB-SINGLEUSER(1)

πŸ“¦
version 5.2.1 Β· 4 versions
, in debian trixie, ubuntu resolute

πŸ’– jupyterhub-singleuser πŸ’–

okay bestie, welcome to the jupyterhub-singleuser(1) manual page β€” it lives in the User Commands section of the manual, and yes it's giving very much "I was written by people who love you but also love config files" ✨


🌸 NAME 🌸

jupyterhub-singleuser β€” Single-user server for Jupyter notebooks πŸ“


πŸ¦‹ DESCRIPTION πŸ¦‹

So. This is the single-user server for JupyterHub, and it extends the Jupyter Notebook server. That's the whole vibe.

Real talk though: it's meant to be invoked by JupyterHub Spawners, not directly. Like, do not just run this yourself and expect main character energy to carry you through. The Spawner is the one who calls it. iykyk 🫢


✨ Options ✨

The options below are convenience aliases to configurable class-options, as listed in the "Equivalent to" description-line of the aliases. To see all configurable class-options for some <cmd>, use:

<cmd> --help-all

πŸ’… and now, the options themselves, in order, no skips, no cap:

  • --debug β€” set log level to logging.DEBUG (maximize logging output). Equivalent to: [--Application.log_level=10]
  • --show-config β€” Show the application's configuration (human-readable format). Equivalent to: [--Application.show_config=True]
  • --show-config-json β€” Show the application's configuration (json format). Equivalent to: [--Application.show_config_json=True]
  • --generate-config β€” generate default config file. Equivalent to: [--JupyterApp.generate_config=True]
  • -y β€” Answer yes to any questions instead of prompting. Equivalent to: [--JupyterApp.answer_yes=True]
  • --no-browser β€” Don't open the notebook in a browser after startup. Equivalent to: [--NotebookApp.open_browser=False]
  • --pylab β€” DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib. Equivalent to: [--NotebookApp.pylab=warn]
  • --no-mathjax β€” Disable MathJax. 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. Equivalent to: [--NotebookApp.enable_mathjax=False]
  • --allow-root β€” Allow the notebook to be run from root user. Equivalent to: [--NotebookApp.allow_root=True]
  • --autoreload β€” Autoreload the webapp. Enable reloading of the tornado webapp and all imported Python packages when any changes are made to any Python src files in Notebook or extensions. Equivalent to: [--NotebookApp.autoreload=True]
  • --script β€” DEPRECATED, IGNORED 😭 Equivalent to: [--FileContentsManager.save_script=True]
  • --no-script β€” DEPRECATED, IGNORED 😭 Equivalent to: [--FileContentsManager.save_script=False]
  • --disable-user-config β€” Disable user-controlled configuration of the notebook server. Equivalent to: [--SingleUserNotebookApp.disable_user_config=True]
  • --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. Equivalent to: [--Application.log_level]
  • --config=<Unicode> β€” Full path of a config file. Default: ''. Equivalent to: [--JupyterApp.config_file]
  • --ip=<Unicode> β€” The IP address the notebook server will listen on. Default: 'localhost'. Equivalent to: [--NotebookApp.ip]
  • --port=<Int> β€” The port the notebook server will listen on (env: JUPYTER_PORT). Default: 8888. Equivalent to: [--NotebookApp.port]
  • --port-retries=<Int> β€” The number of additional ports to try if the specified port is not available (env: JUPYTER_PORT_RETRIES). Default: 50. Equivalent to: [--NotebookApp.port_retries]
  • --sock=<Unicode> β€” The UNIX socket the notebook server will listen on. Default: ''. Equivalent to: [--NotebookApp.sock]
  • --sock-mode=<Unicode> β€” The permissions mode for UNIX socket creation (default: 0600). Default: '0600'. Equivalent to: [--NotebookApp.sock_mode]
  • --transport=<CaselessStrEnum> β€” Choices: any of ['tcp', 'ipc'] (case-insensitive). Default: 'tcp'. Equivalent to: [--KernelManager.transport]
  • --keyfile=<Unicode> β€” The full path to a private key file for usage with SSL/TLS. Default: ''. Equivalent to: [--NotebookApp.keyfile]
  • --certfile=<Unicode> β€” The full path to an SSL/TLS certificate file. Default: ''. Equivalent to: [--NotebookApp.certfile]
  • --client-ca=<Unicode> β€” The full path to a certificate authority certificate for SSL/TLS client authentication. Default: ''. Equivalent to: [--NotebookApp.client_ca]
  • --notebook-dir=<Unicode> β€” The directory to use for notebooks and kernels. Default: ''. Equivalent to: [--NotebookApp.notebook_dir]
  • --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: ''. Equivalent to: [--NotebookApp.browser]
  • --pylab=<Unicode> β€” DISABLED: use %pylab or %matplotlib in the notebook to enable matplotlib. Default: 'disabled'. Equivalent to: [--NotebookApp.pylab]
  • --gateway-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. Equivalent to: [--GatewayClient.url]
  • --user=<CUnicode> β€” Default: ''. Equivalent to: [--SingleUserNotebookApp.user]
  • --group=<CUnicode> β€” Default: ''. Equivalent to: [--SingleUserNotebookApp.group]
  • --hub-prefix=<Unicode> β€” Default: '/hub/'. Equivalent to: [--SingleUserNotebookApp.hub_prefix]
  • --hub-host=<Unicode> β€” Default: ''. Equivalent to: [--SingleUserNotebookApp.hub_host]
  • --hub-api-url=<Unicode> β€” Default: ''. Equivalent to: [--SingleUserNotebookApp.hub_api_url]
  • --base-url=<Unicode> β€” The base URL for the notebook server. Leading and trailing slashes can be omitted, and will automatically be added. Default: '/'. Equivalent to: [--SingleUserNotebookApp.base_url]

To see all available configurables, use --help-all. πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

The full documentation for jupyterhub-singleuser is maintained as a Texinfo manual. If the info and jupyterhub-singleuser programs are properly installed at your site, the command

info jupyterhub-singleuser

should give you access to the complete manual. 🌈


and that's the whole page bestie!! this gorgeous thing is version jupyterhub-singleuser 5.2.1+ds1, dated May 2025, and it lives at the bottom of the page like a little signature. slay, ate, no crumbs. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from