Skip to main content

Notebook Commands

Launch, manage, and stop Jupyter notebook servers on Lyceum Cloud.

Commands

CommandDescription
lyceum notebook launchLaunch a Jupyter notebook server on Lyceum Cloud
lyceum notebook stopStop a running Jupyter notebook
lyceum notebook listList running Jupyter notebooks

lyceum notebook launch

Launch a Jupyter notebook server on Lyceum Cloud.
lyceum notebook launch

Options

OptionDescription
--machine, -mMachine type. Default: cpu
--timeout, -tSession timeout in seconds (max: 600). Default: 600
--image, -iCustom Jupyter image. Default: jupyter/base-notebook:latest
--tokenJupyter notebook token. Default: lyceum
--port, -pPort for Jupyter server. Default: 8888

Examples

# Launch a basic notebook
lyceum notebook launch

# Launch on GPU
lyceum notebook launch --machine a100

# Launch with custom image
lyceum notebook launch --image jupyter/scipy-notebook:latest

# Launch with custom token
lyceum notebook launch --token mysecrettoken

# Launch with custom timeout (5 minutes)
lyceum notebook launch --timeout 300

lyceum notebook stop

Stop a running Jupyter notebook server.
lyceum notebook stop <execution_id>

Arguments

ArgumentDescription
execution_id(required) Execution ID of the notebook to stop

Examples

# Stop a notebook
lyceum notebook stop exec_abc123

lyceum notebook list

List all running Jupyter notebook servers.
lyceum notebook list
This displays:
  • Execution ID
  • Machine type
  • Status
  • Notebook URL
  • Time remaining