Skip to main content

Command-line interface for Lyceum Cloud

Project description

Lyceum CLI

Run Python, Docker, and AI inference workloads on Lyceum Cloud GPUs from your terminal.

Installation

Recommended (isolated environment, no dependency conflicts):

uv tool install lyceum-cli
# or
pipx install lyceum-cli

Or with pip:

pip install lyceum-cli

Quickstart

# Authenticate via browser
lyceum auth login

# Run Python code on a GPU
lyceum python run train.py -m gpu.l40s

# Find the best GPU for your training script
lyceum gpu recommend train.py

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

# Chat with a serverless model (billed per token, no deployment needed)
lyceum infer models
lyceum infer chat -m minimax/minimax-m3 -p "Hello"

# Or deploy a HuggingFace model on dedicated GPUs
lyceum infer deploy meta-llama/Llama-3.1-8B-Instruct
lyceum infer chat -d <deployment-id> -p "Hello"

# Inspect past runs
lyceum jobs history
lyceum jobs logs <execution-id>
lyceum jobs metrics <execution-id>

# Start a GPU VM with SSH access
lyceum vm start -h a100 -k "ssh-ed25519 AAAA..."

# Manage cloud storage
lyceum storage ls
lyceum storage upload ./data --recursive

Commands

Command Description
lyceum python Execute Python code or files on cloud GPUs
lyceum docker Run Docker containers
lyceum compose Run Docker Compose applications
lyceum notebook Launch Jupyter notebooks
lyceum jobs List, inspect, and abort executions (status, logs, metrics)
lyceum gpu Recommend the optimal GPU for your code; list machine types
lyceum infer Serverless chat/embeddings and dedicated deployments
lyceum storage Manage files in cloud storage
lyceum env Encrypted environment variables for executions
lyceum vm Start and manage GPU VMs
lyceum auth Login, logout, status, personal API keys
lyceum org Organizations, members, billing, org API keys

Run lyceum <command> --help for details on any command. Most list/status commands accept --json for machine-readable output.

Configuration

Credentials and settings live in ~/.lyceum/config.json. Useful environment variables:

  • LYCEUM_ORG — override the active organization slug
  • IRIS_PROXY_URL — override the inference proxy URL

Links

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lyceum_cli-1.1.1.tar.gz (61.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lyceum_cli-1.1.1-py3-none-any.whl (74.4 kB view details)

Uploaded Python 3

File details

Details for the file lyceum_cli-1.1.1.tar.gz.

File metadata

  • Download URL: lyceum_cli-1.1.1.tar.gz
  • Upload date:
  • Size: 61.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for lyceum_cli-1.1.1.tar.gz
Algorithm Hash digest
SHA256 596423ab7260043e7172f35c8bb23ad701171b6759f97fc23323df52bb6cdb6d
MD5 b7fe7c410a412cd60647167aed1910bd
BLAKE2b-256 caa3290e771bbb0b44ce6aa823282ade158f84d53e5c181a41ab00b9871aafc8

See more details on using hashes here.

File details

Details for the file lyceum_cli-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: lyceum_cli-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 74.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.8 {"installer":{"name":"uv","version":"0.10.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for lyceum_cli-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c2fafca5f94fc53d3127397cabaabbe97509b2a57cef3efcbb338646332069bb
MD5 3f73c648210f2ced6de40490ce168834
BLAKE2b-256 77a47d52da50a7716f8c6953c69280b923404bf929849f95323570ba0645a8b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page