| 1 |
.TH JUPYTER-RUN "1" "April 2017" "jupyter-run 5.0.1" "User Commands" |
| 2 |
.SH NAME |
| 3 |
jupyter-run \- Helper to run jupyter apps from the command line |
| 4 |
.SH DESCRIPTION |
| 5 |
Run Jupyter kernel code. |
| 6 |
.SH OPTIONS |
| 7 |
Arguments that take values are actually convenience aliases to full |
| 8 |
Configurables, whose aliases are listed on the help line. For more information |
| 9 |
on full configurables, see '\-\-help\-all'. |
| 10 |
.PP |
| 11 |
\fB\-\-generate\-config\fR |
| 12 |
.IP |
| 13 |
generate default config file |
| 14 |
.PP |
| 15 |
\fB\-\-debug\fR |
| 16 |
.IP |
| 17 |
set log level to logging.DEBUG (maximize logging output) |
| 18 |
.PP |
| 19 |
\fB\-\-no\-confirm\-exit\fR |
| 20 |
.IP |
| 21 |
Don't prompt the user when exiting. This will terminate the kernel |
| 22 |
if it is owned by the frontend, and leave it alive if it is external. |
| 23 |
This can also be set in the config file by setting |
| 24 |
`c.JupyterConsoleApp.confirm_exit`. |
| 25 |
.PP |
| 26 |
\fB\-\-confirm\-exit\fR |
| 27 |
.IP |
| 28 |
Set to display confirmation dialog on exit. You can always use 'exit' or |
| 29 |
\&'quit', to force a direct exit without any confirmation. This can also |
| 30 |
be set in the config file by setting |
| 31 |
`c.JupyterConsoleApp.confirm_exit`. |
| 32 |
.PP |
| 33 |
\fB\-y\fR |
| 34 |
.IP |
| 35 |
Answer yes to any questions instead of prompting. |
| 36 |
.PP |
| 37 |
\fB\-\-existing\fR |
| 38 |
.IP |
| 39 |
Connect to an existing kernel. If no argument specified, guess most recent |
| 40 |
.PP |
| 41 |
\fB\-\-transport=\fR<CaselessStrEnum> (JupyterConsoleApp.transport) |
| 42 |
.IP |
| 43 |
Default: 'tcp' |
| 44 |
Choices: ['tcp', 'ipc'] |
| 45 |
.PP |
| 46 |
\fB\-\-hb=\fR<Int> (JupyterConsoleApp.hb_port) |
| 47 |
.IP |
| 48 |
Default: 0 |
| 49 |
set the heartbeat port [default: random] |
| 50 |
.PP |
| 51 |
\fB\-\-ssh=\fR<Unicode> (JupyterConsoleApp.sshserver) |
| 52 |
.IP |
| 53 |
Default: '' |
| 54 |
The SSH server to use to connect to the kernel. |
| 55 |
.PP |
| 56 |
\fB\-\-ip=\fR<Unicode> (JupyterConsoleApp.ip) |
| 57 |
.IP |
| 58 |
Default: '' |
| 59 |
Set the kernel's IP address [default localhost]. If the IP address is |
| 60 |
something other than localhost, then Consoles on other machines will be able |
| 61 |
to connect to the Kernel, so be careful! |
| 62 |
.PP |
| 63 |
\fB\-\-kernel=\fR<Unicode> (JupyterConsoleApp.kernel_name) |
| 64 |
.IP |
| 65 |
Default: 'python' |
| 66 |
The name of the default kernel to start. |
| 67 |
.PP |
| 68 |
\fB\-\-log\-level=\fR<Enum> (Application.log_level) |
| 69 |
.IP |
| 70 |
Default: 30 |
| 71 |
Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL') |
| 72 |
Set the log level by value or name. |
| 73 |
.PP |
| 74 |
\fB\-\-stdin=\fR<Int> (JupyterConsoleApp.stdin_port) |
| 75 |
.IP |
| 76 |
Default: 0 |
| 77 |
set the stdin (ROUTER) port [default: random] |
| 78 |
.PP |
| 79 |
\fB\-\-config=\fR<Unicode> (JupyterApp.config_file) |
| 80 |
.IP |
| 81 |
Default: '' |
| 82 |
Full path of a config file. |
| 83 |
.PP |
| 84 |
\fB\-\-iopub=\fR<Int> (JupyterConsoleApp.iopub_port) |
| 85 |
.IP |
| 86 |
Default: 0 |
| 87 |
set the iopub (PUB) port [default: random] |
| 88 |
.PP |
| 89 |
\fB\-\-shell=\fR<Int> (JupyterConsoleApp.shell_port) |
| 90 |
.IP |
| 91 |
Default: 0 |
| 92 |
set the shell (ROUTER) port [default: random] |
| 93 |
.PP |
| 94 |
\fB\-f\fR <Unicode> (JupyterConsoleApp.connection_file) |
| 95 |
.IP |
| 96 |
Default: '' |
| 97 |
JSON file in which to store connection info [default: kernel\-<pid>.json] |
| 98 |
This file will contain the IP, ports, and authentication key needed to |
| 99 |
connect clients to this kernel. By default, this file will be created in the |
| 100 |
security dir of the current profile, but can be specified by absolute path. |
| 101 |
.PP |
| 102 |
\fB\-\-existing=\fR<CUnicode> (JupyterConsoleApp.existing) |
| 103 |
.IP |
| 104 |
Default: '' |
| 105 |
Connect to an already running kernel |
| 106 |
.SH CLASS PARAMETERS |
| 107 |
Parameters are set from command\-line arguments of the form: |
| 108 |
`\-\-Class.trait=value`. This line is evaluated in Python, so simple expressions |
| 109 |
are allowed, e.g.:: `\-\-C.a='range(3)'` For setting C.a=[0,1,2]. |
| 110 |
.SH RUNAPP OPTIONS |
| 111 |
\fB\-\-RunApp\fR.answer_yes=<Bool> |
| 112 |
.IP |
| 113 |
Default: False |
| 114 |
Answer yes to any prompts. |
| 115 |
.PP |
| 116 |
\fB\-\-RunApp\fR.config_file=<Unicode> |
| 117 |
.IP |
| 118 |
Default: '' |
| 119 |
Full path of a config file. |
| 120 |
.PP |
| 121 |
\fB\-\-RunApp\fR.config_file_name=<Unicode> |
| 122 |
.IP |
| 123 |
Default: '' |
| 124 |
Specify a config file to load. |
| 125 |
.PP |
| 126 |
\fB\-\-RunApp\fR.confirm_exit=<CBool> |
| 127 |
.IP |
| 128 |
Default: True |
| 129 |
Set to display confirmation dialog on exit. You can always use 'exit' or |
| 130 |
\&'quit', to force a direct exit without any confirmation. |
| 131 |
.PP |
| 132 |
\fB\-\-RunApp\fR.connection_file=<Unicode> |
| 133 |
.IP |
| 134 |
Default: '' |
| 135 |
JSON file in which to store connection info [default: kernel\-<pid>.json] |
| 136 |
This file will contain the IP, ports, and authentication key needed to |
| 137 |
connect clients to this kernel. By default, this file will be created in the |
| 138 |
security dir of the current profile, but can be specified by absolute path. |
| 139 |
.PP |
| 140 |
\fB\-\-RunApp\fR.control_port=<Int> |
| 141 |
.IP |
| 142 |
Default: 0 |
| 143 |
set the control (ROUTER) port [default: random] |
| 144 |
.PP |
| 145 |
\fB\-\-RunApp\fR.existing=<CUnicode> |
| 146 |
.IP |
| 147 |
Default: '' |
| 148 |
Connect to an already running kernel |
| 149 |
.PP |
| 150 |
\fB\-\-RunApp\fR.generate_config=<Bool> |
| 151 |
.IP |
| 152 |
Default: False |
| 153 |
Generate default config file. |
| 154 |
.PP |
| 155 |
\fB\-\-RunApp\fR.hb_port=<Int> |
| 156 |
.IP |
| 157 |
Default: 0 |
| 158 |
set the heartbeat port [default: random] |
| 159 |
.PP |
| 160 |
\fB\-\-RunApp\fR.iopub_port=<Int> |
| 161 |
.IP |
| 162 |
Default: 0 |
| 163 |
set the iopub (PUB) port [default: random] |
| 164 |
.PP |
| 165 |
\fB\-\-RunApp\fR.ip=<Unicode> |
| 166 |
.IP |
| 167 |
Default: '' |
| 168 |
Set the kernel's IP address [default localhost]. If the IP address is |
| 169 |
something other than localhost, then Consoles on other machines will be able |
| 170 |
to connect to the Kernel, so be careful! |
| 171 |
.PP |
| 172 |
\fB\-\-RunApp\fR.kernel_name=<Unicode> |
| 173 |
.IP |
| 174 |
Default: 'python' |
| 175 |
The name of the default kernel to start. |
| 176 |
.PP |
| 177 |
\fB\-\-RunApp\fR.kernel_timeout=<Float> |
| 178 |
.IP |
| 179 |
Default: 60 |
| 180 |
Timeout for giving up on a kernel (in seconds). |
| 181 |
On first connect and restart, the console tests whether the kernel is |
| 182 |
running and responsive by sending kernel_info_requests. This sets the |
| 183 |
timeout in seconds for how long the kernel can take before being presumed |
| 184 |
dead. |
| 185 |
.PP |
| 186 |
\fB\-\-RunApp\fR.log_datefmt=<Unicode> |
| 187 |
.IP |
| 188 |
Default: '%Y\-%m\-%d %H:%M:%S' |
| 189 |
The date format used by logging formatters for %(asctime)s |
| 190 |
.PP |
| 191 |
\fB\-\-RunApp\fR.log_format=<Unicode> |
| 192 |
.IP |
| 193 |
Default: '[%(name)s]%(highlevel)s %(message)s' |
| 194 |
The Logging format template |
| 195 |
.PP |
| 196 |
\fB\-\-RunApp\fR.log_level=<Enum> |
| 197 |
.IP |
| 198 |
Default: 30 |
| 199 |
Choices: (0, 10, 20, 30, 40, 50, 'DEBUG', 'INFO', 'WARN', 'ERROR', 'CRITICAL') |
| 200 |
Set the log level by value or name. |
| 201 |
.PP |
| 202 |
\fB\-\-RunApp\fR.shell_port=<Int> |
| 203 |
.IP |
| 204 |
Default: 0 |
| 205 |
set the shell (ROUTER) port [default: random] |
| 206 |
.PP |
| 207 |
\fB\-\-RunApp\fR.sshkey=<Unicode> |
| 208 |
.IP |
| 209 |
Default: '' |
| 210 |
Path to the ssh key to use for logging in to the ssh server. |
| 211 |
.PP |
| 212 |
\fB\-\-RunApp\fR.sshserver=<Unicode> |
| 213 |
.IP |
| 214 |
Default: '' |
| 215 |
The SSH server to use to connect to the kernel. |
| 216 |
.PP |
| 217 |
\fB\-\-RunApp\fR.stdin_port=<Int> |
| 218 |
.IP |
| 219 |
Default: 0 |
| 220 |
set the stdin (ROUTER) port [default: random] |
| 221 |
.PP |
| 222 |
\fB\-\-RunApp\fR.transport=<CaselessStrEnum> |
| 223 |
.IP |
| 224 |
Default: 'tcp' |
| 225 |
Choices: ['tcp', 'ipc'] |