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 6 active command groups:
GroupDescription
authAuthentication and credential management
pythonPython code execution on Lyceum Cloud
dockerContainer execution on Lyceum Cloud
workloadsJob management and monitoring
notebookJupyter notebook server management
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)'"

Global Options

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