Skip to main content

Command-line interface for Lyceum Cloud Execution API

Project description

Lyceum CLI

Command-line interface for Lyceum Cloud Execution API - Execute code, run inference, and manage batch processing in the cloud.

Features

  • Code Execution: Run Python scripts and Docker containers on powerful cloud infrastructure
  • AI Inference: Synchronous and batch inference with various AI models
  • Batch Processing: OpenAI-compatible batch API for large-scale AI workloads
  • Resource Management: List available machine types and monitor running jobs
  • S3 Storage: Built-in file management with S3 backend

Installation

pip install lyceum-cli

Quick Start

  1. Login with your API key:
lyceum login --api-key your-api-key-here
  1. Run Python code:
lyceum run-python "print('Hello from the cloud!')"
  1. List available resources:
lyceum machine-types

Batch Processing

Upload and process large batches of AI requests:

# Upload a JSONL file
lyceum batch upload requests.jsonl

# Create batch job
lyceum batch create file_abc123 --endpoint /v1/chat/completions

# Monitor progress
lyceum batch get batch_xyz789

# Download results
lyceum batch download file_output123

Command Structure

Legacy Commands (for compatibility)

  • lyceum login / lyceum logout / lyceum status
  • lyceum run-python / lyceum run-docker
  • lyceum machine-types / lyceum list-jobs / lyceum abort

New Modular Commands

  • lyceum auth login / lyceum auth logout / lyceum auth status
  • lyceum python run / lyceum docker run
  • lyceum workloads list / lyceum workloads abort / lyceum workloads history
  • lyceum batch upload / lyceum batch create / lyceum batch list
  • lyceum resources machine-types

Configuration

Configuration is stored in ~/.lyceum/config.json:

{
  "api_key": "your-api-key",
  "base_url": "https://api.lyceum.technology"
}

Support

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.0.1.tar.gz (20.1 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.0.1-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lyceum_cli-1.0.1.tar.gz
  • Upload date:
  • Size: 20.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for lyceum_cli-1.0.1.tar.gz
Algorithm Hash digest
SHA256 f359e445374309e80bc365f6bcf4bc117cf537a18a8fe74942a2ccf93adf9916
MD5 68b4b8c2650ff889c633405be45ea3eb
BLAKE2b-256 20a2cd5e5b3e766cdb868599c3988dce7a4b5c0a0607f6b0b8b56a36789701b0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lyceum_cli-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 25.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for lyceum_cli-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47cba24c134af51f10ab93df095a9b42a85b6a507863a00398aba7f27a7ca8aa
MD5 e251bcf7aa89531d473cbd77508a1596
BLAKE2b-256 a4be20fec9c32c21db7c992c90834071de256f0d2b836448a8264e1c7c9c9558

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