Metadata-Version: 2.4
Name: leap-bundle
Version: 0.1.0
Summary: Command line tool to create model bundles for Liquid Edge AI Platform (LEAP)
Project-URL: Homepage, https://leap.liquid.ai
Project-URL: License, https://www.liquid.ai/lfm-license
Author-email: Liquid AI <leap@liquid.ai>
License: LFM Open License v1.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: Other/Proprietary License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.8
Requires-Dist: pyyaml>=6.0.0
Requires-Dist: requests>=2.31.0
Requires-Dist: rich>=13.0.0
Requires-Dist: typer>=0.9.0
Provides-Extra: dev
Requires-Dist: mypy>=1.0.0; extra == 'dev'
Requires-Dist: pytest-cov>=4.0.0; extra == 'dev'
Requires-Dist: pytest>=7.0.0; extra == 'dev'
Requires-Dist: ruff>=0.1.0; extra == 'dev'
Description-Content-Type: text/markdown

# leap-bundle

Command line tool to create model bundles for Liquid Edge AI Platform (LEAP).

This tool allows you to create, manage, and download AI model bundles for deployment on edge devices. Upload your model directories, track bundle creation progress, and download optimized bundles ready for mobile integration.

## Installation

```bash
pip install leap-bundle
```

## Commands

| Command | Description |
| --- | --- |
| `leap-bundle login <api-token>` | Authenticate with LEAP using API token |
| `leap-bundle whoami` | Show current authenticated user |
| `leap-bundle logout` | Logout from LEAP |
| `leap-bundle config` | Show current configuration |
| `leap-bundle config --server <url>` | Set server URL (default: https://leap.liquid.ai) |
| `leap-bundle create` | Submit new bundle request |
| `leap-bundle list` | List all bundle requests |
| `leap-bundle list <request-id>` | Show details of a specific request |
| `leap-bundle cancel <request-id>` | Cancel a bundle request |
| `leap-bundle download <request-id>` | Download the bundle file for a specific request |

## Development

This package uses `uv` for dependency management.

### Setup

```bash
# Install uv if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh

# Install dependencies
uv sync --dev
```

### Development Commands

| `uv` command | `npm` command | Description |
| --- | --- | --- |
| `uv run ruff check .` | `npm run lint` | Run code linting |
| `uv run ruff format .` | `npm run format` | Format code using ruff |
| `uv run mypy .` | `npm run typecheck` | Run type checking with mypy |
| `uv run pytest` | `npm run test` | Run tests using pytest |
| | `npm run check` | Run all above checks |

### Local Development

```bash
# Install the package in virtual environment
uv pip install -e .

# Run the CLI
uv run leap-bundle --help
# Or activate the virtual environment and run directly
source .venv/bin/activate
leap-bundle --help
```

## License

[LFM Open License v1.0](https://www.liquid.ai/lfm-license)
