JUPYTER-RUN(1)
π JUPYTER-RUN(1) π
okay bestie, so this whole page is about jupyter-run β the little helper that runs your jupyter apps straight from the command line. she's a User Commands girlie and yes she ate. π
β¨ NAME β¨
jupyter-run β helper to run jupyter apps from the command line. that's the whole vibe. π
πΈ DESCRIPTION πΈ
Run Jupyter kernel code. that's it. that's the gig. lowkey iconic, highkey powerful. π¦
π₯ OPTIONS π₯
okay so first things first, queen: the arguments that take values? they're actually just convenience aliases to full Configurables, and their aliases are listed on the help line. if you wanna see the full configurables, go hit up --help-all. periodt.
--generate-configβ generate default config file. boom, config spawned. β¨--debugβ set log level tologging.DEBUG(maximize logging output). she's LOUD and she's telling you everything. π--no-confirm-exitβ don't prompt the user when exiting. this will terminate the kernel if it is owned by the frontend, and leave it alive if it is external. you can also set this in the config file by settingc.JupyterConsoleApp.confirm_exit. π--confirm-exitβ set to display confirmation dialog on exit. you can always use'exit'or'quit'to force a direct exit without any confirmation. this can also be set in the config file by settingc.JupyterConsoleApp.confirm_exit. π«Ά-yβ answer yes to any questions instead of prompting. yes-girl mode: activated. π--existingβ connect to an existing kernel. if no argument specified, guess most recent. she'll find her ex, don't worry. π--transport=<CaselessStrEnum>(JupyterConsoleApp.transport) β Default:'tcp'Choices:['tcp', 'ipc']. pick your transport, bestie. π--hb=<Int>(JupyterConsoleApp.hb_port) β Default:0set the heartbeat port [default: random]. π--ssh=<Unicode>(JupyterConsoleApp.sshserver) β Default:''the SSH server to use to connect to the kernel. π§--ip=<Unicode>(JupyterConsoleApp.ip) β Default:''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! literally be careful. no cap. π¨--kernel=<Unicode>(JupyterConsoleApp.kernel_name) β Default:'python'the name of the default kernel to start. π--log-level=<Enum>(Application.log_level) β Default:30Choices:(0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')set the log level by value or name. π--stdin=<Int>(JupyterConsoleApp.stdin_port) β Default:0set the stdin (ROUTER) port [default: random]. π₯--config=<Unicode>(JupyterApp.config_file) β Default:''full path of a config file. π--iopub=<Int>(JupyterConsoleApp.iopub_port) β Default:0set the iopub (PUB) port [default: random]. π‘--shell=<Int>(JupyterConsoleApp.shell_port) β Default:0set the shell (ROUTER) port [default: random]. π-f <Unicode>(JupyterConsoleApp.connection_file) β Default:''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. π--existing=<CUnicode>(JupyterConsoleApp.existing) β Default:''connect to an already running kernel. again. she's persistent. π
π CLASS PARAMETERS π
so parameters get set from command-line arguments that look like this:
--Class.trait=value
this line is evaluated in Python, so simple expressions are allowed, e.g.: --C.a='range(3)' for setting C.a=[0,1,2]. yes she speaks Python, she's multilingual. π
β RUNAPP OPTIONS β
--RunApp.answer_yes=<Bool>β Default:Falseanswer yes to any prompts. β--RunApp.config_file=<Unicode>β Default:''full path of a config file. π--RunApp.config_file_name=<Unicode>β Default:''specify a config file to load. π--RunApp.confirm_exit=<CBool>β Default:Trueset to display confirmation dialog on exit. you can always use'exit'or'quit'to force a direct exit without any confirmation. π«Ά--RunApp.connection_file=<Unicode>β Default:''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. π--RunApp.control_port=<Int>β Default:0set the control (ROUTER) port [default: random]. ποΈ--RunApp.existing=<CUnicode>β Default:''connect to an already running kernel. π--RunApp.generate_config=<Bool>β Default:Falsegenerate default config file. β¨--RunApp.hb_port=<Int>β Default:0set the heartbeat port [default: random]. π--RunApp.iopub_port=<Int>β Default:0set the iopub (PUB) port [default: random]. π‘--RunApp.ip=<Unicode>β Default:''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! fr fr. π¨--RunApp.kernel_name=<Unicode>β Default:'python'the name of the default kernel to start. π--RunApp.kernel_timeout=<Float>β Default:60timeout for giving up on a kernel (in seconds). on first connect and restart, the console tests whether the kernel is running and responsive by sendingkernel_info_requests. this sets the timeout in seconds for how long the kernel can take before being presumed dead. she's just checking if you're still alive bestie π--RunApp.log_datefmt=<Unicode>β Default:'%Y-%m-%d %H:%M:%S'the date format used by logging formatters for%(asctime)s. π--RunApp.log_format=<Unicode>β Default:'[%(name)s]%(highlevel)s %(message)s'the Logging format template. π--RunApp.log_level=<Enum>β Default:30Choices:(0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL')set the log level by value or name. π--RunApp.shell_port=<Int>β Default:0set the shell (ROUTER) port [default: random]. π--RunApp.sshkey=<Unicode>β Default:''path to the ssh key to use for logging in to the ssh server. ποΈ--RunApp.sshserver=<Unicode>β Default:''the SSH server to use to connect to the kernel. π§--RunApp.stdin_port=<Int>β Default:0set the stdin (ROUTER) port [default: random]. π₯--RunApp.transport=<CaselessStrEnum>β Default:'tcp'Choices:['tcp', 'ipc']. π
and that's the whole page, bestie!! πβ¨π
this lil masterpiece is from jupyter-run 5.0.1, dated April 2017 β yeah she's a vintage queen and she still serves. go run some kernels, you got this ππ
π¦
π¦ where this page comes from
- debian bookworm: jupyter-client 7.4.9-2 Β· BSD-3-Clause
- debian trixie: jupyter-client 8.6.3-2 Β· BSD-3-Clause
- ubuntu jammy: jupyter-client 7.1.2-1 Β· BSD-3-Clause
- ubuntu noble: jupyter-client 7.4.9-2ubuntu1 Β· BSD-3-Clause
- ubuntu questing: jupyter-client 8.6.3-2
- ubuntu resolute: jupyter-client 8.7.0-1 Β· BSD-3-Clause
- ubuntu stonking: jupyter-client 8.8.0-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms