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
- Login with your API key:
lyceum login --api-key your-api-key-here
- Run Python code:
lyceum run-python "print('Hello from the cloud!')"
- 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 statuslyceum run-python/lyceum run-dockerlyceum machine-types/lyceum list-jobs/lyceum abort
New Modular Commands
lyceum auth login/lyceum auth logout/lyceum auth statuslyceum python run/lyceum docker runlyceum workloads list/lyceum workloads abort/lyceum workloads historylyceum batch upload/lyceum batch create/lyceum batch listlyceum resources machine-types
Configuration
Configuration is stored in ~/.lyceum/config.json:
{
"api_key": "your-api-key",
"base_url": "https://api.lyceum.technology"
}
Support
- Documentation: https://docs.lyceum.technology
- Support: support@lyceum.technology
- Issues: https://github.com/lyceum/lyceum-cli/issues
Project details
Release history Release notifications | RSS feed
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.3.tar.gz
(48.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
lyceum_cli-1.0.3-py3-none-any.whl
(127.5 kB
view details)
File details
Details for the file lyceum_cli-1.0.3.tar.gz.
File metadata
- Download URL: lyceum_cli-1.0.3.tar.gz
- Upload date:
- Size: 48.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eed93bc95bff686ad1e2663654b01712d99d931d4d1ac76c8a50bb46019f455
|
|
| MD5 |
02ed3e491c615c7442c3e0b44ef30bc4
|
|
| BLAKE2b-256 |
9f91104514f3429d8db1a0a034f73bb6679d79ca9da32d702813ffd99c831285
|
File details
Details for the file lyceum_cli-1.0.3-py3-none-any.whl.
File metadata
- Download URL: lyceum_cli-1.0.3-py3-none-any.whl
- Upload date:
- Size: 127.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ae2a50a8e8bc0365d4528d575fb0833333541f1f8e50f72065c6d85465061e86
|
|
| MD5 |
b1a245bed224ef3f5f497c47163560e9
|
|
| BLAKE2b-256 |
44a623471fd26b7ab9fbbd0863166732c9a6b058b03b79f4997d43d1f97b951a
|