Skip to main content

Video Tutorial

VS Code Extension

The recommended way to run Python on Lyceum Cloud.

Installation

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for “Lyceum Cloud”
  4. Click Install
Install Lyceum Cloud Extension

Authentication

  1. Open any .py or .ipynb file
  2. Click the cloud icon in the editor toolbar
  3. Authenticate in your browser
  4. Return to VS Code — you’re ready
Authentication tokens are securely stored and automatically refreshed.

Running Code

Toolbar Button — Click the cloud icon in the editor toolbarKeyboard ShortcutCtrl+Shift+E (Cmd+Shift+E on Mac)Command PaletteCtrl+Shift+P → “Execute on Cloud”
Execute Python Code

File Operations

Right-click files or folders in VS Code Explorer → “Upload to Lyceum Cloud”
View, download, and delete files in the “Lyceum Cloud Files” panel.

Commands Reference

CommandShortcutDescription
Execute on CloudCtrl+Shift+ERun current Python file or notebook cell
Upload FilesCtrl+Shift+UUpload selected files to cloud storage
Manage ExecutionsCtrl+Shift+MOpen execution management panel
Configure API TokenSet authentication token (manual override)
View HistoryShow execution history

CLI

Installation

pip install lyceum-cli

Authentication

lyceum auth login

Running Code

# Run inline code
lyceum python run "print('Hello from Lyceum Cloud!')"

# Run a file
lyceum python run hello.py

# Run with GPU
lyceum python run train.py -m gpu.a100

# Run with requirements
lyceum python run script.py -r requirements.txt

# Run with specific imports
lyceum python run script.py --import numpy --import pandas

# Pass script arguments
lyceum python run train.py -- --epochs 10 --batch-size 32

Workspace Configuration

# Initialize config for your project
lyceum python config init

# View current config
lyceum python config show

Troubleshooting

  • Re-authenticate by clicking the cloud icon or running lyceum auth login
  • Check that you’re signed in to the dashboard
  • Verify internet connectivity and firewall settings
  • Check file size limits (contact support for large file needs)
  • Verify network connectivity during upload
  • Ensure proper authentication
Need help? Contact support at [email protected]