Skip to main content

Lyceum CLI

The Lyceum CLI is built with Typer and invoked via lyceum. It provides commands for authentication, code execution, container management, and more.

Installation

pip install lyceum-cli

Command Groups

The CLI has 10 active command groups:
GroupDescription
authAuthentication and credential management
pythonPython code execution on Lyceum Cloud
dockerContainer execution on Lyceum Cloud
composeDocker Compose multi-container execution
workloadsJob management and monitoring
notebookJupyter notebook server management
vmVirtual machine provisioning and management
gpu-selectionAnalyze code and find the optimal GPU
storageManage files in your cloud storage
inferModel deployment and inference on GPU instances

Quick Start

# Login to Lyceum
lyceum auth login

# Run Python code
lyceum python run "print('Hello, Lyceum!')"

# Run a Python file
lyceum python run script.py --machine a100

# Run a Docker container
lyceum docker run python:3.11 --command "python -c 'print(1+1)'"

# Start a VM with SSH access
lyceum vm start --hardware-profile a100 --key "$(cat ~/.ssh/id_rsa.pub)"

Global Options

All commands support the --help flag to display usage information:
lyceum --help
lyceum python --help
lyceum python run --help