lyceum-cli


Namelyceum-cli JSON
Version 1.0.4 PyPI version JSON
download
home_pagehttps://lyceum.technology
SummaryCommand-line interface for Lyceum Cloud Execution API
upload_time2025-09-05 11:35:06
maintainerNone
docs_urlNone
authorLyceum Team
requires_python>=3.8
licenseNone
keywords cloud computing code execution docker ai inference batch processing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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

```bash
pip install lyceum-cli
```

## Quick Start

1. **Login** with your API key:
```bash
lyceum login --api-key your-api-key-here
```

2. **Run Python code**:
```bash
lyceum run-python "print('Hello from the cloud!')"
```

3. **List available resources**:
```bash
lyceum machine-types
```

## Batch Processing

Upload and process large batches of AI requests:

```bash
# 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`:

```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

            

Raw data

            {
    "_id": null,
    "home_page": "https://lyceum.technology",
    "name": "lyceum-cli",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "cloud computing, code execution, docker, ai, inference, batch processing",
    "author": "Lyceum Team",
    "author_email": "support@lyceum.technology",
    "download_url": "https://files.pythonhosted.org/packages/b6/e6/de6909e6035732facb5d9ffdbb0a752143a875c9d5c6cb3482d0511714c8/lyceum_cli-1.0.4.tar.gz",
    "platform": null,
    "description": "# Lyceum CLI\n\nCommand-line interface for Lyceum Cloud Execution API - Execute code, run inference, and manage batch processing in the cloud.\n\n## Features\n\n- **Code Execution**: Run Python scripts and Docker containers on powerful cloud infrastructure\n- **AI Inference**: Synchronous and batch inference with various AI models\n- **Batch Processing**: OpenAI-compatible batch API for large-scale AI workloads\n- **Resource Management**: List available machine types and monitor running jobs\n- **S3 Storage**: Built-in file management with S3 backend\n\n## Installation\n\n```bash\npip install lyceum-cli\n```\n\n## Quick Start\n\n1. **Login** with your API key:\n```bash\nlyceum login --api-key your-api-key-here\n```\n\n2. **Run Python code**:\n```bash\nlyceum run-python \"print('Hello from the cloud!')\"\n```\n\n3. **List available resources**:\n```bash\nlyceum machine-types\n```\n\n## Batch Processing\n\nUpload and process large batches of AI requests:\n\n```bash\n# Upload a JSONL file\nlyceum batch upload requests.jsonl\n\n# Create batch job\nlyceum batch create file_abc123 --endpoint /v1/chat/completions\n\n# Monitor progress\nlyceum batch get batch_xyz789\n\n# Download results\nlyceum batch download file_output123\n```\n\n## Command Structure\n\n### Legacy Commands (for compatibility)\n- `lyceum login` / `lyceum logout` / `lyceum status`\n- `lyceum run-python` / `lyceum run-docker`\n- `lyceum machine-types` / `lyceum list-jobs` / `lyceum abort`\n\n### New Modular Commands\n- `lyceum auth login` / `lyceum auth logout` / `lyceum auth status`\n- `lyceum python run` / `lyceum docker run`\n- `lyceum workloads list` / `lyceum workloads abort` / `lyceum workloads history`\n- `lyceum batch upload` / `lyceum batch create` / `lyceum batch list`\n- `lyceum resources machine-types`\n\n## Configuration\n\nConfiguration is stored in `~/.lyceum/config.json`:\n\n```json\n{\n  \"api_key\": \"your-api-key\",\n  \"base_url\": \"https://api.lyceum.technology\"\n}\n```\n\n## Support\n\n- Documentation: https://docs.lyceum.technology\n- Support: support@lyceum.technology\n- Issues: https://github.com/lyceum/lyceum-cli/issues\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Command-line interface for Lyceum Cloud Execution API",
    "version": "1.0.4",
    "project_urls": {
        "Homepage": "https://lyceum.technology"
    },
    "split_keywords": [
        "cloud computing",
        " code execution",
        " docker",
        " ai",
        " inference",
        " batch processing"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "28053bfcbbff0b0210248f9c9444f30ce765587b95641fa0d681f9e1038ff070",
                "md5": "a101a39c1190ca7ee158af239929a041",
                "sha256": "8fc03f0e83fe9c0ac1b406d72023e6520dc7bae3af08e76b42bd15f0924c3cb1"
            },
            "downloads": -1,
            "filename": "lyceum_cli-1.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "a101a39c1190ca7ee158af239929a041",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 127837,
            "upload_time": "2025-09-05T11:35:04",
            "upload_time_iso_8601": "2025-09-05T11:35:04.680022Z",
            "url": "https://files.pythonhosted.org/packages/28/05/3bfcbbff0b0210248f9c9444f30ce765587b95641fa0d681f9e1038ff070/lyceum_cli-1.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "b6e6de6909e6035732facb5d9ffdbb0a752143a875c9d5c6cb3482d0511714c8",
                "md5": "80f7e085bee3ac6491edbaaaf87855bf",
                "sha256": "989501e81d59f1ae1298d75b5851111b1bb53614c22e59567d426acc2e2088d4"
            },
            "downloads": -1,
            "filename": "lyceum_cli-1.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "80f7e085bee3ac6491edbaaaf87855bf",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 48424,
            "upload_time": "2025-09-05T11:35:06",
            "upload_time_iso_8601": "2025-09-05T11:35:06.111991Z",
            "url": "https://files.pythonhosted.org/packages/b6/e6/de6909e6035732facb5d9ffdbb0a752143a875c9d5c6cb3482d0511714c8/lyceum_cli-1.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-05 11:35:06",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "lyceum-cli"
}
        
Elapsed time: 2.04899s