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.0.tar.gz (61.5 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.0-py3-none-any.whl (74.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lyceum_cli-1.1.0.tar.gz
  • Upload date:
  • Size: 61.5 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.0.tar.gz
Algorithm Hash digest
SHA256 7273fc7280fbd36d519df8c674fb9ce1f4a74ca19c8d3b950ece717a1762c233
MD5 b72e0746452bc1f2e226ce497722b7d7
BLAKE2b-256 f6c319d472745712226ffef6db27fa92885f8ffbaa00209b39884a6640f4a12b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lyceum_cli-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eacb8fe26e14a8e29b8dc783b6b889b74497cdb2e31a41e3346de0b1720d4cc5
MD5 bf61941485a1e7a3755ef59dff249475
BLAKE2b-256 f49ddf85ef57e8711cf02834829a9d0ef3c5daaf152486505eff14ab9935691a

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